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.