A Brazilian senator says he attended an election conspiracy meeting with former Brazilian President Jair Bolsonaro.

Senator Marcos do Val said at a news conference he was invited by a Bolsonaro ally, former MP Daniel Silveira, to meet then-President Jair Bolsonaro on December 9.

At the meeting, Silveira asked him to try to get the President of the Electoral Court, Judge Alexandre de Moraes, to make compromising remarks in a recorded conversation that could lead to the judge's arrest.

Then-President Bolsonaro sat silently while Silveira explained the plot against Judge de Moraes.

Bolsonaro was narrowly defeated by left-wing politician Luiz Inacio Lula da Silva in a runoff election.

He then expressed unsubstantiated doubts about the reliability of the electronic voting system.

Judge Alexandre de Moraes had rejected a lawsuit by Bolsonaro's party against the runoff election.

On December 8, Bolsonaro supporters stormed the Congress building, the Supreme Court and the Presidential Palace in Brasilia.

Daniel Silveira was arrested by Brazilian police on Thursday.

Judge Moraes issued the arrest warrant.

He accused Silveira of disregarding court decisions and "total disregard and mockery" of the judiciary.

Representatives for Jair Bolsonaro, who has been in the United States since late December, could not be reached for comment.

His Liberal Party declined to comment.

Senator Flavio Bolsonaro, the former president's son, said in a statement there had never been an attempted coup.

His father is a defender of law and order and has always "played within the four lines of the constitution".