It is believed that Raja Bhoj founded Bhopal in the 11th century, but the modern city was established by the Afghan ruler, Dost Mohammad Khan, in the 18th century.