Input (grade 6): He was the last Catholic monarch to reign over the Kingdoms of England, Scotland, and Ireland.
Output (grade 4): He was the last Roman Catholic king of Scotland, England, or Ireland.