The state-run oil giant has taken a 51% slice in Barreras shipyard, confirming reports earlier this year that the deal was imminent.

Mexico City-headquartered Pemex said the deal was aimed at reviving the Spanish shipbuilding industry as well as servicing the Mexican oil industry.

Spanish daily El Pais reported before the summer that Pemex was considering signing a letter of intent to take the 51% stake in Barreras.

Pemex