A military castle () was built in the second half of the 14th century and demolished after the 1626 war. It was not replaced until the second half of the 18th century when a new manor house was built near the castle ruins. The manor burned down in 1905 and was rebuilt between 1907 and 1911 by master builder Jānis Meņģelis according to a design by architect Wilhelm Bockslaff.