French lawmakers passed a no-confidence vote against the government on Wednesday, throwing the European Union's second-biggest economic power deeper into a crisis that threatens its capacity to legislate and tame a massive budget deficit.

Far-right and left-leaning lawmakers joined forces to back a no-confidence motion against Prime Minister Michel Barnier, with a majority 331 votes in support of the motion.

Barnier now has to tender his resignation and that of his government to President Emmanuel Macron, making his minority government's three-month tenure the shortest lived in France's Fifth Republic, beginning in 1958. He is expected to do so on Thursday morning, French media reported.