Complex sentence: Ventspils castle was built in the second half of the 13th century, and controlled by the Livonian Order until the mid- 1500s.
Split into simpler sentences: Ventspils castle was built in the second half of the 13th century. The castle was controlled by the Livonian Order until the mid- 1500s.