Task: Question Generation
Input (English): Passage: The Cromwellian conquest completed the British colonisation of Ireland, which was merged into the Commonwealth of England, Scotland and Ireland in 1653-59. It destroyed the native Irish Catholic land-owning classes and replaced them with colonists with a British identity. The bitterness caused by the Cromwellian settlement was a powerful source of Irish nationalism from the 17th century onwards. After the Stuart Restoration in 1660, Charles II of England restored about a third of the confiscated land to the former landlords in the Act of Settlement 1662, but not all, as he needed political support from former parliamentarians in England. A generation later, during the Glorious Revolution, many of the Irish Catholic landed class tried to reverse the remaining Cromwellian settlement in the Williamite War in Ireland , where they fought en masse for the Jacobites. They were defeated once again, and many lost land that had been regranted after 1662. As a result, Irish and English Catholics did not become full political citizens of the British state again until 1829 and were legally barred from buying valuable interests in land until the Papists Act 1778.
Output (English): After getting some of their land returned in 1662, how many years was it before Irish Catholics could legally buy valuable interests in land again?