Image copyright AFP Image caption The signing of the Paris accord is considered a major achievement for Barack Obama

The US government has given half a billion dollars to the UN's Green Climate Fund, just three days before Donald Trump takes office.

Barack Obama's outgoing administration announced the contribution of $500m (£406m; €468m) on Tuesday, bringing the total funds to date to $1bn.

Mr Obama pledged in 2014 to give $3bn to help tackle the effects of climate change in the poorest countries.

Mr Trump has previously called global warming a hoax.

The president-elect has also threatened to pull the US out of the Paris accord - a global agreement on curbing greenhouse gas emissions - and America's commitment to the fund.

Mr Trump could decide to withhold the rest of the fund.

However, John Kirby, the State Department spokesman who announced the grant, said there was no "nefarious desire or intent" behind the timing.

Image copyright EPA Image caption Donald Trump has previously called climate change a hoax, and a number of his cabinet members deny its existence

"It's not being done to try to provoke a reaction from the incoming administration or to try to dictate to them one way or the other how they are going to deal with climate issues," Mr Kirby said.

"This is an investment that had been long planned."

Republican senators have previously stated their opposition to the fund, and called the payments a waste of money.

But Mr Trump's team may not be taking such a hard line on climate change as initially thought.

Last week Rex Tillerson, the former ExxonMobil chief and the president-elect's nominee for secretary of state, said he wants the US to keep "a seat at the table" regarding global warming.

"No one country is going to solve this alone," he said at his Senate confirmation hearing.

"The risk of climate change does exist, and the consequences could be serious enough that actions should be taken."