Media playback is unsupported on your device Media caption Protest against Brazil's President Temer turns violent

Angry demonstrators in Brasilia have started a fire inside the ministry of agriculture and have damaged several other ministerial buildings.

Brazilian authorities estimate around 35,000 are marching in the capital.

Troops are being deployed to defend government buildings and there is a heavy police presence on the streets.

Protesters are demanding the resignation of President Michel Temer, fresh elections, and for economic reform plans to be withdrawn.

Mr Temer has faced new corruption allegations in the last week, and is facing growing pressure to step down.

According to reports, several ministries are being evacuated because of the protests - but not before the agriculture ministry was damaged.

"There was an invasion of the ministry's private entrance. They lit a fire in a room, broke photos in a gallery of ex-ministers and confronted police," a spokesman told the AFP news agency.

There have been clashes between police and demonstrators and local media report one person has been injured and several have been detained.

Planned demonstrations began peacefully around midday before clashes with police erupted.

Image copyright Reuters Image caption Police fired rubber bullets and tear gas grenades during clashes

Police fired rubber bullets and tear gas at some demonstrators, and video footage showed other members of the crowd smashing windows or setting makeshift barriers afire.

Last week, testimony released by the country's supreme court alleged that Mr Temer had taken millions of dollars in bribes since 2010.

The plea-bargain testimony came from bosses of a giant meat-packing firm.

In response, Mr Temer vowed to prove his innocence and remain as president while so doing.

On Saturday, he filed a petition to have the investigation suspended, but reversed that decision on Tuesday.

Mr Temer took office a year ago after his predecessor, President Dilma Rousseff, was impeached.