Coordinates: 27° 10′ 46″ N, 78° 1′ 22″ E
Agra Fort is a historical fort in the city of Agra in India. It was the main residence of the emperors of the Mughal Dynasty until 1638, when the capital was shifted from Agra to Delhi. Before capture by the British, the last Indian rulers to have occupied it were the Marathas. In 1983, the Agra Fort was inscribed as a UNESCO World Heritage site. It is about 2.5 km northwest of its more famous sister monument, the Taj Mahal. The fort can be more accurately described as a walled city.
It had been used by the early mughal rulers. The Fort stands on an ancient site and was traditionally known as Badalgarh, It was captured by Ghaznavi for some time but in the 15th century the Chauhan Rajputs occupied it. Soon after, Agra assumed the status of capital when Sikandar Lodi (1487–1517) shifted his capital from Delhi and constructed a few buildings in the pre-existing Fort at Agra. After the first battle of Panipat (1526) Mughals captured the fort and ruled from it. In 1530, Humayun was crowned in it. The Fort got its present appearance during the reign of Akbar (1556–1605).