Shah Jahan (reigned 1628-1658) shifted the Mughal capital from Agra to Delhi in 1648, founding the new city of Shahjahanabad (now Old Delhi). He built the Red Fort and the famous Jama Masjid in Delhi. Jehangir ruled from Agra and Lahore, while Aurangzeb and Humayun did not make this shift.