It was an old cathedral and Episcopal seat. It is a pre-Romanesque church, built between the 10th and the 12th centuries, with three naves, a transept and three apses. The façade is 12th century. Inside, 14th and 15th-century wall paintings are preserved. The tomb of San Gonzalo can be found inside.