In 1707, with the death of the last great Mughal emperor Aurangzeb, Mughal power began to rapidly weaken especially following Nader Shah's invasion in 1739 and then completely dissipated from the Punjab region due to the invasions of Ahmad Shah Abdali who raided Punjab many times between 1747 and 1772 causing much devastation and chaos.