The construction of the Livonian Order's (Ordensburg Hasenpoth) castle-type fortress began in the 13th century, initiated by the master of the Order, Dietrich von Groningen. Initially, the castle consisted of a forecourt, corner towers, and wooden buildings in the courtyard. It served as a border fortress at the meeting point of the Livonian Order's and the Bishop of Kurzeme's territories. In the 15th century, a residential wing with basements and a gallery was built along the eastern wall of the castle. In the courtyard, above the gates, a part of the plaster with decorative sgrafito-style finishing has been preserved. The castle was still inhabited until the 1970s, after which it was destroyed in a fire.