(Adds details on dispute between Pemex and Siemens)
MEXICO CITY, March 13 (Reuters) - Germany's Siemens AG said on Friday it settled a longstanding dispute with Mexican state oil company Pemex over two public contracts linked to a South Korean company.
Pemex has been at loggerheads with Siemens and South Korea's SK Engineering & Construction Co Ltd - a unit of SK Holdings Co - over allegations of corruption and cost overruns relating to contracts for an oil refinery project in Mexico.
The dispute involved Conproca, a Mexican joint-venture between Siemens and SK created to bid for the Pemex oil refinery contract. The dispute has now been resolved after months of talks, Siemens said in a statement.
Under the deal, Siemens said funds the German company received from Conproca would be placed into a trust to finance energy projects in Mexico, and include measures aimed at battling corruption and protecting the environment.
A Siemens spokesman said the accord was with Pemex alone and involved still open Conproca cases. He gave no details on how Conproca would be affected financially.
Mexico is seeking investment in its energy sector after ending the oil and gas monopoly that Pemex enjoyed for 75 years.
Finance Minister Luis Videgaray made an appeal on Thursday to the private sector to take a bigger role in upcoming energy and infrastructure projects in Mexico. (Reporting by Mexico Newsroom. Editing by Andre Grenon)