After the death of the last great Mughal emperor Aurangzeb, in 1707, Mughal authority significantly weakened but didn't totally vanish despite Nadir Shah's invasion in 1739. The centralised authority that had existed during Aurangzeb's rule and the rule of his predecessors was now largely in the hands of governors and Nawabs (semi autonomous rulers) who gave their nominal allegiance to the Mughal emperor at Delhi.