The History of Ahmedabad starts in the 11th century, with the Solanki emperor Karandev I who was the leader of Anhilwara who started a battle against the Bhil emperor of Ashaval. After his success, he founded a city called Karnavati on the bank of Sabarmati at the place of the present Ahmedabad. The rule of the Muzaffarid Empire was established in Gujarat in 1411. The Sultan decided to establish his capital in Ahmedabad.
In 1573, Gujarat was occupied by the Mughal emperor. During the Mughal rule, the economic condition of Ahmedabad flourished due to the textile business. According to the records of Ahmedabad, in 1753, the soldiers of the Maratha General Damaji Gaekwad and Raghunath Rao captured the city and ended the Mughal rule in Ahmedabad. The soldiers of the Maratha Generals seized the city and put an end to the Mughal rule.
In 1818, the British East India Company took over Ahmedabad. Some development was done by the British, like armed forces cantonment was founded in 1824, and an urban administration was set up in 1858, and a railway connection between Bombay and Ahmedabad was established in 1864.