Leader of Sinn Féin joined opposing sides with De Valera leading the Anti-Treaty faction, while Griffith joined the Pro-Treaty faction, which later became Cumann na nGaedheal. De Valera’ successor John J. O'Kelly was one of four leaders who served for brief periods of time as Sinn Féin’s party membership declined in favour of Fianna Fáil and Fine Gael. In 1937, Margaret Buckley became the first female President of Sinn Féin. During her thirteen years as leader, she vastly improved the relations between the IRA and the party. She was succeeded by Paddy McLogan and Tomás Ó Dubhghaill who both helped rebuild party support in
Fianna Fáil and Sinn Féin. The party dominated Irish political life for most of the 20th century, and since its foundation either it or Fine Gael has led every government. Between 1989 and 2011, it led coalition governments with parties of both the left and the right. Fianna Fáil was last in government from 1997 to 2011 under Bertie Ahern and Brian Cowen, with a periodic high of 81 seats in 2002, reduced to 77 in 2007 and then to 20 in 2011, the lowest in the party's history. Having won 44 seats at the 2016 general election, Fianna Fáil is currently