Kenya began pumping crude on Wednesday, nearly 15 years after its discovery, in a move that could diversify the East African country's exports and boost foreign-currency earnings.

Britain's Tullow Oil discovered oil in Kenya's Lokichar basin in Turkana county near South Sudan in 2012, but its development was delayed by a lack of export infrastructure, investor withdrawals and financing challenges.

Nairobi expects the project to generate government revenue of up to 371bn shillings ($2.85bn) over 25 years, depending on the price of oil and production volumes.

President William Ruto led a ceremony to mark the departure of trucks carrying oil from the project, which is expected to produce 20,000 barrels per day before ramping up to 50,000 bpd.

"What once seemed like a distant prospect has finally become a reality," he said, adding it was a historic day of pride and hope for the country.

The exports should boost foreign-exchange inflows and strengthen Kenya's external balance, said Shani Smit-Lengton, senior economist at Oxford Economics.

"The start of oil production will help diversify Kenya's export base, reducing its reliance on agriculture, which remains highly vulnerable to increasingly volatile weather conditions," said Smit-Lengton.

Kenya's Gulf Energy, which bought Tullow's stake last year and is developing the $6bn project, estimates recoverable deposits at 326mn stock-tank barrels over 25 years.

Ruto did not unveil a name for the light, waxy crude as expected. Local leaders have rejected a shortlist prepared by the energy ministry, insisting that the name should include Turkana.

Providing a name for new producers helps establish a distinct grade alongside crudes such as Brent, West Texas Intermediate, Murban and Bonny. Uganda, which is close to producing its first oil, named its crude Pearl Sweet.

Output is starting just as higher oil prices resulting from Middle East supply disruptions improve the economics of the project, industry analysts said.

"There is a significant constraint in the crude oil supply which guarantees (a) good market for the crude," said Andrew Kamau, a former senior official at Kenya's energy ministry.

The government had planned to extend a railway line from Mombasa to Lokichar to facilitate exports, but plans changed after Nigeria's Aliko Dangote began building a $16bn refinery at Lamu port in September.

The billionaire, who is making investments across Africa, has bought a 25% stake in the Kenya Pipeline Company, which runs an oil-products pipeline from Mombasa inland.

The refinery, which is expected to be ready by 2030, has boosted the case for a pipeline from the fields to Lamu, Ruto said, adding that executives from Gulf Energy and Dangote were working on a plan to build one.

A previous bid for a crude pipeline from Lokichar flopped in 2016 when Uganda chose to route oil through Tanzania's port of Tanga rather than through Kenya's Lamu port.

Lokichar is in Turkana, the poorest of Kenya's 47 counties, and local residents fear they might see little benefit.

Kenya's petroleum law allocates 20% of government oil revenue to the local government and 5% to the local community, leaving 75% for central government.

"The community will develop high expectations when they see trucks leaving with crude oil while in reality, this will largely be cost oil and not profit oil," said Charles Wanguhu, an independent Kenyan energy analyst. "The disappointment will likely turn into anger."