Lille mayor and former Labor Minister Martine Aubry defeated the Socialists' 2007 presidential nominee, Segolene Royal, by 42 votes in a runoff in which nearly 135,000 party members cast ballots, the party said on Saturday. The vote shows the Socialists have failed to unify following their acrimonious divisions in the run-up to Royal's presidential race loss to Sarkozy. "We'll have all lost if we aren't able to unify -- very quickly," Aubry said. "We'll have all won if we block the right -- (and) the current policies of the president."

In brief remarks to reporters, Aubry called on party members to be "responsible," and said she told Royal as much during a telephone call after the results became known: 50.02 percent for Aubry, 49.98 percent for Royal. Royal called for a new vote, alleging "technical" problems in the vote -- without elaborating. She also predicted that in the end, she will win.

"Martine Aubry has rushed because she knows that the results are in the process of reversing themselves," Royal told TF1 television, insisting she would never quit the party even if she loses.

The current Socialist boss, Francois Hollande, said a party commission would examine the challenges to the vote today. If the results hold, Aubry is poised to take over as the Socialists' first secretary from Hollande, Royal's former companion and father of her four children. Hollande, the party's first secretary for 11 years, had campaigned against Royal.

The Socialists are the main opposition to Sarkozy's conservatives. His Union for a Popular Movement, or UMP, could hardly contain its glee.

"The PS (Socialist Party) is bedlam!" UMP spokesman Frederic Lefebvre said in a statement. He mocked "a weakened party that's sliced in two, with two camps that don't respect each other -- worse yet, they hate each other!"

Aubry will be the first female leader of the Socialists, and the party will have to resolve disputes over whether to shift toward the center or reach to the vocal far left. The Socialists face an uphill task, though, as Sarkozy has plucked some left-leaning politicians for his Cabinet and borrowed some leftist arguments for dealing with the global financial crisis. His ratings have climbed recently.

The Socialists still have time to rebuild before their next electoral tests -- European Parliament elections are next year, and French regional balloting in 2010. France's presidential and legislative elections await in 2012. Aubry, 58, has said the party should be "anchored on the left" and has rallied party heavyweights around her. It is far too early to tell whether she will be the Socialist nominee for the 2012 presidential race, but her selection as party leader can only help any such ambitions.