The lower house of Brazil's congress has elected a new speaker. It's conservative deputy Rodrigo Maia, who had received half-hearted support from acting President Michel Temer.

The election in the first hours of Thursday put Maia at 285 votes against 170 for Rogerio Rosso, who is closer to Temer and to disgraced former speaker Eduardo Cunha.

Maia will hold the post until February.

Cunha has led impeachment proceedings against suspended President Dilma Rousseff and expected Rosso to help him avoid losing his congressional seat on corruption charges.

Rousseff's impeachment trial is expected to begin in August after the Rio de Janeiro Olympic Games.