The castle was built by the Livonian brothers of the Order of the Sword and the Teutonic Order. In the Middle Ages, it was one of the most important supports for the Teutonic Order in the Baltic states, and today it is the most impressive and well-preserved castle ruins in Latvia. Translated with Google Translate