Angela Merkel has been elected by German lawmakers for a fourth term as chancellor.

The vote in parliament ends almost six months of political turmoil after a federal election saw millions of voters desert the two mainstream parties.

In a secret ballot, 364 of the bund stag’s 709 members voted in favor of Merkel — nine more than the 50% required.

Thirty-five mps from the parties governing under Merkel did not vote to re-elect her.