A brief period of limited independence for Ireland came to an end following the Irish Rebellion of 1798, which occurred during the British war with revolutionary France. The British government's fear of an independent Ireland siding against them with the French resulted in the decision to unite the two countries. This was brought about by legislation in the parliaments of both kingdoms and came into effect on 1 January 1801. The Irish had been led to believe by the British that their loss of legislative independence would be compensated with Catholic emancipation, that is, by the removal of civil disabilities placed upon Roman Catholics in both Great Britain and Ireland. However, King George III was bitterly opposed to any such Emancipation and succeeded in defeating his government's attempts to introduce it.