Former Brazilian President Jair Bolsonaro, who is serving a 27-year sentence for a coup attempt, was placed under further restrictions on Friday for breaching conditions of his house arrest. File Photo by Andre Borger/EPA-EFE

July 18 (UPI) -- Brazil's top court on Saturday denied a request from former President Jair Bolsonaro to be visited by Argentinian President Javier Milei while under house arrest.

The attempted visit by Milei, a political ally of the far-right Bolsonaro, was part of a campaign to drum up political support for the son of the former president, who is running against leftist President Luiz Inacio Lula da Silva.

Bolsonaro is serving a 27-year sentence for a coup attempt but has been in his home in Brasilia since March due to his health condition.

He was already barred from participating in national politics as part of his sentence.