In the 18th century, the slow disintegration of the Mughal Empire was hastened by the emergence of the rival powers of the Maratha Confederacy and later the Sikh Empire, as well as invasions by Nader Shah from Iran in 1739 and the Durrani Empire of Afghanistan in 1759.  The growing political power of the British in Bengal had not yet reached the territories of modern Pakistan.