Lahore grew under emperor Babur; from 1584 to 1598, under the emperors Akbar the Great and Jahangir, the city served as the empire's capital. Lahore reached the peak of its architectural glory during the rule of the Mughals, many of whose buildings and gardens have survived the ravages of time. Lahore's reputation for beauty fascinated the English poet John Milton, who wrote "Agra and Lahore, the Seat of the Great Mughal" in 1670.