Montenegro's pro-Western government has survived a confidence vote despite disagreements within the ruling coalition and pressure from the pro-Russian opposition over a NATO membership bid.

The government of Prime Minister Milo Djukanovic, who is in a dispute with one of the seven parties in the coalition, on Wednesday won support from a small opposition party. The Positive Party in return demanded that the opposition take part in organizing fair elections later this year.

Lawmakers voted 42-20 in favor of the government, while the anti-government opposition lawmakers joined several hundred of their supporters who rallied outside the parliament building.

Pro-Russian parties have called for the government to be ousted over an invitation to join NATO last year. Moscow opposes it because Montenegro is a historic Slavic ally in the Balkans.