 Complete the following phrase:  The church was built atop the site of the no longer extant Castle de la Peña, of which only ruins remain. By 1180, the church had been made a collegiate church, staffed by Augustinian canons, and was much favored by the Aragonese royalty. The church was remodeled in 1343, but had to be rebuilt after the 