Around 1710 AD Yar Muhammad Kalhoro along with his army, captured Khudabad from the Panhwar. Around 1718 or 1719, Mian Yar Muhammad died and was buried there. After his death, Mian Noor Mohammad Kalhoro became the ruler of Sindh (1719–1755) and chose Khudabad as his capital in 1719. He developed the city rapidly, which led to many Hindus of Amils and Bhaibands castes migrating there for employment and trade. He also built the Jamia Masjid.
In 1755, Mian Noor Mohammad Kalhoro died and was buried in a tomb, built by him before his death, about a kilometre from Khudabad. Mourners would to come to tomb and offer sticks as symbols of respect, and which are now house in his tomb. Many a times, Hindus perform mundane ceremony of their children there and offer sticks as rituals as well.
After the death of Mian Noor Mohammad, Mian Ghulam Shah Kalhoro's claim to rule was challenged by his brothers Muradyab Khan and Attar Khan. The latter was able to obtain Sanad (Authority to Rule) from Ahmed Shah Durrani and so Mian Ghulam Shah Kalhoro vacated the seat in his favour. Mian Attar Khan could not manage the state of affairs. Taking advantage of political uncertainty, Khosa tribe invaded and looted local population and burnt the Khudabad city down by tying fire crackers with the feet of birds and let fly them throughout the city after setting fire the fire crackers.[3]
In 1759, Baloch chiefs reinstalled Mian Ghulam Shah Kalhoro, who defeated his two brothers and assumed the throne. He started, once again, the settlement of Khudabad on nearby new lands, by the new course of the river Indus.
Fateh Ali Khan (Talpur) defeated the Kalhora (Mian Abdul Nabi Kalhora) in 1783 and took over as the new ruler of Sindh. Khudabad City continued to remain his capital till it was inundated by river Indus in 1789, when Mir Fateh Ali Khan chose Hyderabad (old Nayrun Kot) as his capital. The change of capital no doubt induced a large number of the population of Khudabad to migrate to the new seat of royalty, and Khudabad city's decline may be said to have commenced from that date.
It is said that people around the city still find old coins among the ruins of Khudabad. Around 1908, a charcoal seller on his horse passed through Khudabad and collided with a wall of an old building and saw some silver coins. With the help of some labourers, he found many old silver coins worth about thirteen thousand rupees, which he kept for himself. After some time, the story leaked out and he was charged under Indian Treasure-Trove Act in the court of Resident Magistrate of Dadu.[4]