BERLIN (AP) -- Germany's nationalist party Alternative for Germany on Sunday elected two new top candidates for the September general election after the party's best-known politician, Frauke Petry, said she would no longer be available.
Members of the far-right party, known by its acronym AfD, elected Alexander Gauland and Alice Weidel at their weekend party convention in Cologne.
Divisions erupted among the different factions of the German nationalists as delegates from the AfD rejected an appeal Saturday by Petry to seek a more pragmatic political path instead of turning into a "fundamental opposition" party.
Gauland, 76, is one of the party's most prominent members and considered one of Petry's main rivals.
"We want to keep our home country, keep our identity, and we are proud to be German," he said in his acceptance speech.
Weidel, 38, is a consultant from southwestern Germany who has not stood in the spotlight of the four-year-old party so far.
"If we now stick together and fight together, then finally a true opposition party will be getting into German Parliament," Weidel told cheering delegates.
The delegates also voted for an election manifesto that is harsh on immigration and Muslims and reiterates calls for leaving the European Union's euro currency.
The conference in Cologne was overshadowed by massive protests on Saturday, when tens of thousands rallied against the populist party and blocked access to the hotel where the convention took place. On Sunday, the city remained relatively calm and police reported only a few small demonstrations.
Around 68 percent voted for the duo, with 28 percent voting against, the German news agency dpa reported.
AfD's poll ratings soared amid the influx of migrants to Germany in late 2015 and early 2016. However, they have sagged in recent months as the issue faded from headlines and the party became increasingly mired in infighting, with Petry and her husband Marcus Pretzell against other senior figures like Gauland even further on the right.
Petry, 41, announced Wednesday that she would no longer be her party's top candidate. She also irked some rivals by leading an effort to expel Bjoern Hoecke, AfD's regional leader in the eastern Thuringia state, after he suggested that Germany stop acknowledging and atoning for its Nazi past. Gauland has repeatedly protected Hoecke, even after his remarks created an outrage in Germany.
German political parties choose lead candidates for elections who generally dominate their campaigns and, in the case of bigger parties, compete to become chancellor. Petry's move has left AfD without such a figurehead.
The country holds general elections on September 24.