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