The Sopoanga government was eventually brought down by an eight-to-six motion of no confidence in August 2004. Two government members, Elisala Pita and Otinielu Tausi, crossed the floor to vote against Sopoanga. On 25 August 2004 Saufatu Sopoanga resigned as prime minister and member of parliament. A by-election was held on 7 October 2004 and Saufatu Sopoanga regained his seat. Maatia Toafa was elected prime minister on 11 October 2004 with a vote of 8:7; and Saufatu Sopoanga became deputy prime minister and minister for works, transport and communication. Maatia Toafa remained PM until the 2006 general election.