President Trump on Tuesday complimented Brazil’s President Jair Bolsonaro, saying that he’d gotten to know him well, praising his efforts to fight the raging Amazon fires and pledging US help.

“I have gotten to know President @jairbolsonaro well in our dealings with Brazil. He is working very hard on the Amazon fires and in all respects doing a great job for the people of Brazil — Not easy. He and his country have the full and complete support of the USA!” the president said on Twitter, without offering specifics about what aid may be forthcoming.

Trump had also tweeted on Friday that America was prepared to help, and touted potential trade deals between the two countries.

“Just spoke with President @JairBolsonaro of Brazil. Our future Trade prospects are very exciting and our relationship is strong, perhaps stronger than ever before. I told him if the United States can help with the Amazon Rainforest fires, we stand ready to assist!” the commander-in-chief wrote then.

The president has not visited Brazil, but he and the right-wing populist president had a sideline meeting at the G-20 summit in Japan earlier this year.

But Bolsonaro said Brazil would only accept international aid to fight Amazon fires if French leader Emmanuel Macron retracted comments that he found offensive.

Bolsonaro on Tuesday said Macron had called him a liar and he accused the French president of questioning Brazil’s sovereignty amid tensions over fires sweeping the Amazon region.

Macron had questioned the former military officer’s trustworthiness and commitment to protecting biodiversity.

The Group of Seven nations has pledged $20 million to help fight the flames in the Amazon and protect the rainforest, in addition to a separate $12 million from Britain and $11 million from Canada.

Firefighters in Brazil’s Amazon face an enormous challenge of putting out a multitude of blazes and safeguarding a vast region described by world leaders as critical to the health of the planet — and as the planet’s lungs.

Brazil’s National Space Research Institute says the number of fires has risen by 85 percent to more than 77,000 in the last year.

About half of the fires have been in the Amazon region, with many in just the past month.

Trump in the past has blamed wildfires in California and elsewhere on what he called poor forest management.

But the Amazon fires were believed to have been largely set by agricultural interests looking to clear forest land for farming.

With AP