Complex sentence: In the main square (Plaza Mayor), it was built in the 18th century in the Rioja Baroque style, and finished in 1805.
Split into simpler sentences: In the main square (Plaza Mayor). Was built in the 18th century in the Rioja baroque style, and finished in 1805.