Amid tensions, Moldova's Parliament has approved a new government, ending months of deadlock between the president and the legislature.

Parliament approved the pro-European government of Pavel Filip, the Technology Minister and former candy factory manager Wednesday with 57 votes. The pro-Russian opposition boycotted the vote.

As the session got underway, lawmakers from the Socialists' Party booed, blew whistles and blocked off part of the Parliament. In the end, Filip merely announced his Cabinet.

Protesters massed outside Parliament yelling "early elections" as lawmakers met.

Parliament needed to approve a government by Jan. 29 or face being dissolved. Lawmakers dismissed the previous government in October amid corruption allegations.

Moldova has been locked in political turmoil since up to $1.5 billion went missing from three banks prior to the 2014 parliamentary elections.