Though Agra’s history is largely recognised with Mughal Empire, the place was established much before it and has linkages since Mahabharat period and Mahirshi Angira in 1000 BC. It is generally accepted that Sultan Sikandar Lodī, the Ruler of the Delhi Sultanate founded Agra in the year 1504. After the Sultan’s death the city passed on to his son Sultan Ibrāhīm Lodī. He ruled his Sultanate from Agra until he fell fighting to Bābar in the First battle of Panipat fought in 1526.
The golden age of the city began with the Mughals. It was known then as Akbarabād and remained the capital of the Mughal Empireunder the Emperors Akbar, Jahāngīr and Shāh Jahān. Shāh Jahān later shifted his capital to Shāhjahānabād in the year 1649.
Since Akbarabād was one of the most important cities in India under the Mughals, it witnessed a lot of building activity. Babar, the founder of the Mughal dynasty, laid out the first formal Persian garden on the banks of river Yamuna. The garden is called the Arām Bāgh or the Garden of Relaxation. His grandson Akbar raised the towering ramparts of the Great Red Fort, besides making Agra a center for learning, arts, commerce and religion. Akbar also built a new city on the outskirts of Akbarabād called Fatehpūr Sikrī. This city was built in the form of a Mughal military camp in stone.
His son Jahāngīr had a love of gardens and flora and fauna and laid many gardens inside the Red Fort or Lāl Qil’a. Shāh Jahān, known for his keen interest in architecture, gave Akbarabād its most prized monument, the Tāj Mahal. Built in loving memory of his wife Mumtāz Mahal, the mausoleum was completed in 1653.