In the 14th and 15th centuries Esztergom saw events of great importance and became one of the most influential acropolises of Hungarian culture along with Buda. Their courts, which were similar to the royal courts of Buda and Visegrád, were visited by such kings, scientists, and artists as Louis the Great, Sigismund of Luxembourg, King Matthias Corvinus, Galeotto Marzio, Regiomontanus, the famous astronomer Marcin Bylica and Georg von Peuerbach, Pier Paolo Vergerio and Antonio Bonfini, King Matthias's historian, who, in his work praises the constructive work of János Vitéz, King Matthias's educator. He had a library and an observatory built next to the cathedral. As Bonfini wrote about his masterpiece, his palace and terraced gardens: "he had a spacious room for knights built in the castle. In front of that, he built a wonderful loggia of red marble. In front of the room, he built the Chapel of Sibyls, whose walls were decorated with paintings of the sybils. On the walls of the knights' room, not only the likeness of all the kings could be found, but also the Scythian ancestors. He also had a double garden constructed, which was decorated with columns and a corridor above them. Between the two gardens, he built a round tower of red marble with several rooms and balconies. He had Saint Adalbert's Basilica covered with glass tiles". King Matthias's widow, Beatrix of Aragon, lived in the castle of Esztergom for ten years (1490–1500).