Former US President Barack Obama, in his waning hours, quietly released $221 million to the Palestinian Authority (PA), which Congress had been blocking.

A State Department official and several congressional aides said the outgoing administration formally notified Congress it would spend the money Friday morning. The official said former Secretary of State John Kerry had informed some lawmakers of the move shortly before he left the State Department for the last time Thursday. The aides said a written notification dated January 20 was sent to Congress just hours before Donald Trump took the oath of office.

In addition to the $221 million for the Palestinians, the Obama administration also told Congress on Friday that it was going ahead with the release of another $6 million in foreign affairs spending, including $4 million for climate change programs and $1.25 million for United Nations organizations, the congressional aides said.

The aides and the State Department official weren’t authorized to speak publicly on the matter and demanded anonymity.

Congress had initially approved the Palestinian funding in budget years 2015 and 2016, but at least two lawmakers — Ed Royce (R-CA), the chairman of the House Foreign Affairs Committee, and Kay Granger (R-TX), who sits on the House Appropriations Committee — had placed holds on it over moves the PA had taken to seek membership in international organizations, from which it intended to launch more international campaigns against Israel.

Congressional holds are generally respected by the executive branch but are not legally binding after funds have been allocated.

The Obama administration had for some time been pressing for the release of the money for the PA, which comes from the US Agency for International Development and is supposedly to be used for humanitarian aid, to support political and security reforms as well as help prepare for good governance and the rule of law in a future Palestinian state, according to the notification sent to Congress.

The $1.25 million for UN agencies is to be used as voluntary contributions to the UN Peacebuilding Fund; the UN Special Coordinator on improving the UN response to sexual exploitation and abuse; the Montreal Protocol Secretariat, which oversees the protection of the ozone layer; the Inter-American Commission on Human Rights; and the UN System Staff College.

The $4 million for climate programs includes assistance for clean energy, sustainable landscapes, cutting greenhouse gas emissions and creating a climate technology center.

The last-minute allocation also contained $1.05 million in funding for the State Department’s Special Representative for Afghanistan and Pakistan office and the Bureau of South and Central Asian Affairs.

The Palestinian funding is likely to draw anger from some in Congress as well as the White House. Trump has vowed to be a strong supporter of Israel and has already invited Prime Minister Benjamin Netanyahu to visit Washington next month.