Bhopal State was an Islamic principality founded in the beginning of 18th-century India by the Afghan Mughal noble Dost Muhammad Khan. It was a tributary state during 18th century, a princely salute state with 19-gun salute in a subsidiary alliance with British India from 1818 to 1947, and an independent state from 1947 to 1949. Islamnagar was founded and served as the State's first capital, which was later shifted to the city of Bhopal.