Fianna Fáil was last in government from 1997 Irish general election to 2011 Irish general election under Bertie Ahern and Brian Cowen , with a periodic high of 81 seats in 2002 Irish general election , reduced to 77 in 2007 Irish general election .