Officials in southern Nigeria say villagers who took over four oil pumping stations on Wednesday have agreed to leave the facilities.

Villagers stormed the pumping stations, accusing Western oil companies of not following agreements to provide jobs and services to locals.

Details of Thursday's agreement were not immediately available, and it was unclear when operations at the stations in Rivers State would resume.

Three of the stations belong to Royal Dutch Shell.  The other is owned by U.S. oil giant Chevron.

Nigerian youths and armed groups have intensified their campaign of attacks and kidnappings this year as they press demands for a greater share of the oil wealth in the Niger Delta region.

Nigeria is Africa's largest oil producer and has the capacity to pump at least two and a half million barrels per day.  However, the attacks have cut output this year by nearly 25 percent.

Some information for this report was provided by AFP, AP and Reuters.