The present building has the form of a palace and it was built on the ruins of a fortress destroyed in the year 1511 Idrija earthquake. The construction had started in 1517 and the works had lasted for 50 years. The external decoration of the palace and the paintings in the Parliament Hall are due to Giovanni da Udine, one of the pupils of Raphael.