 When Asif Jah I died in 1748, there was political unrest due to contention for the throne among his sons, who were aided by opportunistic neighbouring states and colonial foreign forces.In 1769, Hyderabad city became the formal capital of the Nizams.The Nizam Nasir-ud-dawlah, Asaf Jah IV signed the subsidiary alliance with the British in 1799 and lost its control over the state's defence and foreign affairs.