Shah Jahan commissioned the Red Fort in 1638 when he decided to shift his capital from Agra to Delhi. Construction took nearly 10 years (1639-1648). Shah Jahan is also famous for building the Taj Mahal. Akbar built Fatehpur Sikri and Jahangir built gardens like the Shalimar Bagh, but not the Red Fort.