Complex sentence: St. Mary's Church was the lay church of the Abbey and was built in the 12th century.
Split into simpler sentences: St. Mary's Church was the lay church of the Abbey. It was built in the 12th century.