Polish MPs have passed a controversial new media ownership law that may lead to the country’s largest remaining independent TV station loss of licence.

After a night of protests in Warsaw and 80 other towns against the bill, which opponents see as an attempt to silence an often critical broadcaster, the law passed on late Wednesday.

The vote came amid stormy scenes after the prime minister on Tuesday fired his deputy coalition member, prompting the party to leave the government.