Under later Mughal Emperors, Kabul became neglected. The empire lost the city when it was captured in 1738 by Nader Shah, who was en route to invade the Indian subcontinent.