Input (grade 7): In 1260, Alfonso X of Castile conquered the city from the Moors and renamed it Santa María del Puerto.
Output (grade 3): In 1260, Alfonso X of Castile took the city from the Moors.