Input (grade 11): King Afonso III of Portugal captures the Algarve from the Moors, thus completing the expulsion of the Moors from Portugal.
Output (grade 12): Events Europe December 13 - Frederick II, Holy Roman Emperor, dies King Afonso III of Portugal captures the Algarve from the Moors.