The United States and North Korea resolved a dispute over $25 million in frozen North Korean funds in a Macau bank that threatened to hold up nuclear disarmament negotiations, a top U.S. official said Monday.

Deputy Assistant Treasury Secretary Daniel Glaser said the funds would be transferred to a Bank of China account in Beijing to be used for education and humanitarian purposes in North Korea.

The North Korean deposits have been frozen in the Banco Delta Asia since Washington blacklisted the small, privately run Macau-based bank 19 months ago on suspicion the funds were connected to money-laundering or counterfeiting.

Click here for all the latest news on North Korea.

Glaser said details on the timing and procedures for transferring the BDA funds into the Bank of China account would be worked out between the North and regulators in Macau, a semiautonomous Chinese territory.

Washington promised to resolve the issue by mid-March as part of an agreement last month on North Korea's nuclear disarmament. On Saturday, North Korea's nuclear envoy said Pyongyang would not shut down its main nuclear reactor until the funds were released.

"We believe this resolves the issue of the DPRK-related frozen funds," Glaser said using the acronym for North Korea's formal name, the Democratic People's Republic of Korea. "North Korea has pledged ... that these funds will be used solely for the betterment of the North Korean people."

The U.S. nuclear envoy, Christopher Hill, said the six-party talks — which are scheduled to resume Monday — could now "move on to the next problem of which there are many."

The Feb. 13 disarmament agreement gave North Korea 60 days to shut down both its main reactor and a plutonium processing plant, allowing U.N. monitors to verify the shutdown.

"With the BDA issue resolved, there will be no big obstacle to implementing measures within the 60-day deadline that leads to North Korea's shutdown of nuclear facilities," said South Korean envoy Chun Yung-woo.

In return for its cooperation, North Korea is to receive energy and economic assistance and a start toward normalizing relations with the U.S. and Japan.

U.S. allegations in 2002 that North Korea has a secret uranium enrichment program prompted the North to expel U.N. inspectors and eventually led to North Korea detonating its first nuclear device last year.

Click here for all the latest news on North Korea.