Buda Castle (Hungarian: Budavári Palota) is the historic castle used by the Hungarian kings in Budapest. In the past, it was also called Royal Palace and Royal Castle. It was built on the south side of the hill, near the old castle district, (Varned), famous for medieval baroque style and 19th century houses and public buildings. It is connected to Adam Clark Square and Chain Bridge (Széchenyi lánchíd) by the Budapest Castle funicular. Buda Castle was incorporated by UNESCO as a World Heritage Site in 1987. The first royal residence on the hill was built by King Béla IV of Hungary between 1247 and 1265. The oldest part of the present palace was erected In the 14th century by Prince Stephen, Duke of Slavonia, younger brother of King Louis I of Hungary. Only the basics of the Stefano (István-torony) tower remained. The Gothic palace of Louis I was built around a small garden adjacent to the tower of Stefano. King Sigismondo (Luxembourg Zsigmond) greatly expanded the palace. Sigismondo, as emperor of the Holy Roman Empire, needed a magnificent residence to show his supremacy among European rulers. The castle of Buda became the Emperor's main residence, and during his reign became the most impressive Gothic opera of the late Middle Ages. Buddha became an important artistic center, home of late Gothic style. The complex function is not secure. Obviously, the queen did not intend to use it as a residence because of the short time spent in the Buddha. In 1769, Maria Teresa donated a ward to the Loreto Sisters of Sankt Pölten, known as Englische Fräulein or Angkisasszonyok. The building officially passed hands on May 13, 1770, but the beautiful baroque halls were absolutely unsuitable for a monastery. In 1777, the Queen decided that the University of Budapest should have moved to Buddha.