General elections were held in Liberia on 11 October 2005, with a runoff election for the presidency held on 8 November. The presidency and all seats in the House of Representatives and Senate were up for election. The elections were the first held since 1997 and marked the end of the political transition following the second civil war, having been stipulated in the Accra Comprehensive Peace Agreement of 2004. Ellen Johnson Sirleaf, former World Bank employee and Liberian finance minister, won the presidential contest and became the first democratically elected female African head of state in January 2006.