Input (grade 13): The origins of the modern city come from the 9th century, when Muhammad I ordered the construction of a small palace in the same place that is today occupied by the Palacio Real.
Output (grade 11): The origins of today's town really starts in the 9th century when Muhammad I had a small palace built where the Palacio Real stands today.