A Brazilian politician has been arrested after he threw grenades at police officers who arrived at his home in the state of Rio de Janeiro to arrest him.
Before surrendering on Sunday, Roberto Jefferson, an ally of far-right President Jair Bolsonaro, wounded two officers.
Previously, a Supreme Court judge ordered his incarceration for disrespecting Chief Justice Cármen Luca. He had already been placed under house arrest for threatening her.
Mr Bolsonaro reacted by saying those who fired at police should be arrested.
The two officers were wounded by shrapnel from a grenade during the attack in Comendador Levy Gasparian, north of the state capital Rio de Janeiro. They were taken to the hospital and later discharged.
Mr Jefferson, the 69-year-old former leader of the PTB political party, also fired a number of shots from a rifle, shattering the windshield of a police car.
Supreme Court Judge Alexandre de Moraes had ordered the politician to be detained on the grounds that he violated the conditions of house arrest.
Political tensions are high in Brazil ahead of Sunday’s presidential election run-off between Mr Bolsonaro and left-winger Luiz Inácio Lula da Silva.
Lula – who is still seen as the front-runner – fell short of the 50% of valid votes needed to prevent a run-off in the first round earlier this month.