BERLIN (Reuters) - Three parties in the eastern German state of Thuringia joined forces on Thursday to keep the election-winning Alternative for Germany out of power, electing as state premier a conservative who led his party to second place behind the far-right AfD.
The AfD stunned Germany's mainstream parties in September when it became the first far-right party to win a regional election in Germany since World War Two. But all other parties refuse to cooperate with the AfD, regionally and nationally.
Mario Voigt, 47, leader of the state's Christian Democrats, won the votes of 51 out of the parliament's 88 legislators, implying he received the backing of seven members who did not belong to his coalition with the Social Democrats and the populist left Sahra Wagenknecht Alliance (BSW).
"The state parliament has elected Mario Voigt minister president of the Free State of Thuringia," parliament president Thadeus Koenig told legislators.
Voigt's appointment comes just 10 weeks before a national election in which the AfD's strength - it currently ranks second in opinion polls, behind the conservatives - could greatly complicate efforts to forge a coalition government to steer Germany, Europe's largest economy, at a time of deep crisis.
In Thuringia's parliament, the three coalition parties together command only 44 votes, one shy of the majority Voigt needed to be elected on the first round.
The opposition Left party - heirs to the former East German Communist party - agreed on Wednesday to lend Voigt some votes in return for regular consultations on the new coalition's legislative agenda.
The compromise - made necessary by the AfD's strength - is an awkward victory for centrist forces in the state.
Also, the BSW, with its stated opposition to arming Ukraine, is an uncomfortable partner for the conservatives and the Social Democrats, who at the national level are firmly committed to backing Ukraine in its fight against Russian invaders.
(Reporting by Thomas Escritt; Editing by Gareth Jones)