Located on the top of the hill, the Castle of the King is its guardian and sentry.
It is popularly known as the Suda, an Arabic word which means a closed urban area. The Suda name referred to the Andalusian fortress built during the 9th century on the site now occupied by the Castle of the King, but it is also the name that documentary sources designate as the noble district that stretched down the hill.
It was the palace where the king resided during his stay in Lleida. Its construction reflects different phases between the late 13th and 14th century, which is why Romanesque and Gothic forms coexist.
It was the most remarkable civil building in the city and an important centre for political decisions. Its walls were the scene of momentous events in the history of Catalonia and the Kingdom of Aragon. In addition to the various courts that were held, some of the most prominent acts were most likely the marriage between Petronila of Aragon and Ramon Berenguer IV, Count of Barcelona, in 1150; the recognition of James I as king in the Courts of 1214; or the imprisonment of Charles, Prince of Viana by his father, John II, in 1460.