Poland's parliament has approved new legislation that gives the government control of state radio and television stations in a move that has raised EU concern.

Following a heated debate Wednesday, the lower chamber voted 232-152 with 34 abstentions to adopt amendments to the media law that were proposed by the ruling conservative Law and Justice party.

The legislation gives the government the authority to appoint heads of the state-run radio and TV, limits the number of supervisory board members and terminates the terms of the current management, appointed by the previous establishment.

It needs approval from the Senate and the president, who are also controlled by the ruling party and are expected to grant their consent.

A European Commission leader has written to express concern for Poland's media freedom.