Original: 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 .
Simplified: The church was started in 1238 by the first bishop of Valencia Pere d'Albalat .