The compromises contained in the agreement caused the civil war in the 26 counties in June 1922 – April 1923, in which the pro-Treaty Provisional Government defeated the anti-Treaty Republican forces. The latter were led, nominally, by Éamon de Valera, who had resigned as President of the Republic on the treaty's ratification. His resignation outraged some of his own supporters, notably Seán T. O'Kelly, the main Sinn Féin organizer. On resigning, he then sought re-election but was defeated two days later on a vote of 60–58. The pro-Treaty Arthur Griffith followed as President of the Irish Republic. Michael Collins was chosen at a meeting of the members elected to sit in the House of Commons of Southern Ireland (a body set up under the Government of Ireland Act 1920) to become Chairman of the Provisional Government of the Irish Free State in accordance with the Treaty. The general election in June gave overwhelming support for the pro-Treaty parties. W. T. Cosgrave's Crown-appointed Provisional Government effectively subsumed Griffith's republican administration with the death of both Collins and Griffith in August 1922.