Brazil's ruling Workers' Party has held an election to find a new leader.
President Lula was under pressure to vote
Former Minister Ricardo Berzoini faced Raul Pont - a former mayor of Porto Alegre - in a run-off vote on Sunday.
Mr Berzoini led last month's round of voting, but did not get enough votes for an outright victory. Results are not expected for a few days.
Former party leader Jose Genoino was forced to step down amid allegations of illegal campaign financing and corruption.
Correspondents say the party's reputation for integrity was hit by the scandal that also forced the resignation of three other senior officials.
Latin America's largest left-wing party is struggling to regroup from the corruption scandal that has damaged Lula's popularity ahead of next year's presidential race.
Correspondents say the Workers' Party is deeply divided along ideological lines, and the election of a new leader could shape Lula's chances for re-election.
Mr Berzoini supports the government, and was expected to maintain the same moderate stance as former leader Jose Genoino.
But Mr Pont is a member of the party's left-wing faction, which has been constantly criticising Lula's administration - especially its economic policies.
Apparently worried that the scandal would jeopardise his chances for a second term, Lula at first sought to distance himself from the Workers' Party election.
He did not vote in the first round, causing an uproar among the party members. He did cast his ballot in the run-off vote on Sunday.