WASHINGTON: The World Bank said on Tuesday it canceled an oil pipeline funding agreement with Chad, ending long-standing tensions with the government of President Idriss Deby over promises to spend the oil profits on programs for the poor.

In a statement, the World Bank said Chad prepaid the outstanding balance of $65.7 million under the $140.7 loan deal on Sept. 5 following talks with the government in August. The impoverished central African country is expected to earn about $1.4 billion in oil revenues this year.

The pipeline was one of the World Bank’s biggest investments in Africa and billed as a test case for how Africa’s oil wealth could benefit the poor if spent properly. The bank said Chad had failed to comply with agreements, in which the government agreed to set aside a chunk of its oil revenues for local communities, health and education.

But after two agreements since 2001 with Chad over the pipeline and no progress, World Bank President Robert Zoellick wrote to Deby in August saying the bank could no longer support the project and urged him to prepay the balance of the loan and end the arrangement.

“Regrettably, it became evident that the arrangements that had underpinned the bank’s involvement in the Chad/Cameroon pipeline project were not working,” the bank statement said, adding: “The bank therefore concluded that it could not continue to support this project under these circumstances.” A government official in N’Djamena told Reuters the bank’s decision would not affect the country’s oil output.

The World Bank backed the $4 billion, 170,000-barrels per day Chad-Cameroon pipeline, operated by US major ExxonMobil, by financing a portion of it in 2001. The bank gave its support for the project on condition profits from the pipeline were spent on programs that reduce poverty.

The 620-mile (1,000 km) pipeline, which carries oil from Chad through Cameroon to international markets, was heavily criticized by aid agencies which warned that Chad was marred by corruption, political instability and human rights abuses.

Former World Bank President Paul Wolfowitz halted lending to Chad in January 2006 and froze a dollar account at Citibank in London after the government made a grab for the oil revenues by altering an oil law to access more of the profits.

Relations were restored in April 2006 when the agreement was renegotiated and the government promised to allocate 70 percent of budget spending in 2007 for programs for the poor.