Like many palaces, the one in Budapest is built on the top of the hilt.  Built on the ruins of an ancient Roman palace and fortress it is a steep and rocky climb to the top.

Fortunately, they have this convenient little tram to take you up.

tram to the palance