Agra was the capital of Akbar the Great , the site of his fort , of his tomb outside the city at Sikandra , and , several miles west at Fatehpur Sikri , of the marvellous deserted town he built to celebrate the birth of a son and which he abandoned to fight on the northwest frontier .
Agra was founded after the death of Akbar the Great .