Input (grade 13): The church was consecrated in 1238 by the first bishop of Valencia Pere d'Albalat and was dedicated by order of James I the Conqueror to Saint Mary.
Output (grade 6): The church was started in 1238 by the first bishop of Valencia Pere d'Albalat.