Kalhora dynasty ruled certain other parts of Pakistan from 1701 to 1783 AD. Kalhoras ruled Sindh for 85 years and there were twelve Kalhora rulers during this time. By the late 1600s, the Mughal dynasty became very weak and the governor Yar Muhammad Khan Kalhora became virtual ruler of Sindh. After Nadir Shah Durrani of Iran and invaded and occupied the Mughal capital in 1739 the Kalhora became rulers of Sindh. The territory of Kalhora dynasty extended from Multan to Thatta. This period is known as the golden period of Sindhi literature. Poets like Shah Abdul Latif Bhittai, Sachal Sarmast, and Sami wrote their works in this era. Talpur army defeated Kalhora dynasty in the battle of Halani in 1783 to become rulers of Sindh.