Solan is the district headquarters of Solan district (created on 1 September 1972) in the Indian state of Himachal Pradesh. The largest Municipal Council of Himachal Pradesh, it is located 46 kilometres (29 mi) south of the state capital, Shimla. At an average elevation of 1,600 metres (5,200 ft). The place is named after the Hindu goddess Shoolini devi. Every year in the month of June, a fair celebrating the goddess is held, featuring a 3-day mela at the central Thodo grounds. Solan was the capital of the erstwhile princely state, Bhagat.