After the Irish Rebellion of 1641, most of Ireland came under the control of the Irish Catholic Confederation. In early 1649, the Confederates allied with the English Royalists, who had been defeated by the Parliamentarians in the English Civil War. By May 1652, Cromwell's Parliamentarian army had defeated the Confederate and Royalist coalition in Ireland and occupied the country, ending the Irish Confederate Wars (or Eleven Years' War). However, guerrilla warfare continued for a further year. Cromwell passed a series of Penal Laws against Roman Catholics (the vast majority of the population) and confiscated large amounts of their land.