It was most celebrated when it was the capital of the Mogul sovereigns (1526 to 1658). Many splendid buildings of that time are still there to be seen, among them the fortress built by Akbar, within the walls of which are the palace of Shah Jahan and the Pearl Mosque. Still more noted is the Taj Mahal, built by Shah Jahan as a tomb for himself and his wife.