A general election was held on 16 June 1922, held just before the civil war. By mid-1922, Collins in effect laid down his responsibilities as President of the Provisional Government to become Commander-in-Chief of the National Army, a formal structured uniformed army that formed around the pro-Treaty IRA. As part of those duties, he travelled to his native County Cork. On his way home on 22 August 1922, he was killed in an ambush at Béal na mBláth (an Irish language placename that means 'the Mouth of Flowers'). He was 31 years old. The Second Irish Provisional Government took office on 30 August 1922 until the creation of the Irish Free State on 6 December 1922. After Collins' and Griffith's deaths in August 1922, W. T. Cosgrave became both Chairman of the Provisional Government and President of Dáil Éireann, and the distinction between the two posts became irrelevant.