After the 2002 election, the ÖVP formed government with the FPÖ; in 2005, the Alliance for the Future of Austria (BZÖ) split from the FPÖ. Most of the FPÖ's National Council deputies joined the new party, which replaced the FPÖ as the junior partner in government. As a result of the 2006 election, the ÖVP–BZÖ coalition lost its majority. After three months of negotiations, the SPÖ and ÖVP formed a grand coalition under SPÖ leader Alfred Gusenbauer, which took office on 11 January 2007.