Updated

A German nationalist party has ended a dispute that split its parliamentary group in a state legislature and exposed divisions in its national leadership.

Alternative for Germany, or AfD, said Tuesday its caucus in southwestern Baden-Wuerttemberg, one of five states where it won seats in elections this year amid discontent about Germany's migrant influx, has reunited.

Its 22 lawmakers elected national co-chairman Joerg Meuthen as caucus leader, three months after he and 12 others walked out after failing to get the rest to oust a colleague accused of anti-Semitism. That lawmaker later left the caucus.

Meuthen and national co-leader Frauke Petry clashed over how to handle the dispute.

AfD said in a statement the split, during which Meuthen's group operated as "Alternative for Baden-Wuerttemberg," didn't create extra costs to taxpayers.