The High Court on Thursday declared illegal the running of battery-run rickshaws in Dhaka and Chittagong metropolitan cities.