HYDERABAD: Chief minister N Chandrababu Naidu has declared a war against illegal mining in the state, which has caused a huge loss of revenue to the state.