Iraq’s state-run North Oil Co. (NYSE: NOG) signed an agreement with BP (NYSE: BP) on May 7 to triple output from the Kirkuk fields in the north of the country, Oil Minister Jabar al-Luaibi said.

The agreement was signed in the southern Iraqi city of Basra, he told a news conference after the signing.

Under the deal, BP will boost output capacity from six fields in the Kirkuk region to a total of more than 1 million barrels per day (MMbbl/d), three times today’s capacity in the region.

The oil fields were returned to Baghdad’s control in October after Iraqi government forces dislodged Kurdish fighters from the area. The minister began talks with BP in October, days after the Kurdish fighters were driven expelled.

Oil exports from the region, transported by pipeline to Turkey, were halted after the Iraqi military operation, which was launched in retaliation against an independence referendum held on Sept. 25 by the semiautonomous Kurdistan Regional Government (KRG).

Iraq plans to start trucking crude from Kirkuk to Iran, but the road to the border has yet to be secured from attacks by Islamic State insurgents.

BP had agreed in 2013 to help Baghdad halt a sharp decline in output from Kirkuk. The KRG then took control of the Kirkuk region in 2014, when the Iraqi army collapsed in the face of Islamic State’s sweeping advance in northern and western Iraq.

The Kurdish move prevented the fields from falling into the hands of the militants.

Kirkuk is one of the biggest and oldest oil fields in the Middle East, estimated to contain about 9 billion barrels of recoverable oil, according to BP.

BP has provided technical assistance in the past to North Oil to help redevelop the Kirkuk field.

Iraq, the second biggest producer in OPEC behind Saudi Arabia, has capacity to produce almost 5 MMbbl/d, but now produces 4.45 MMbbl/d to comply with an OPEC-led deal to curb supplies.

Most of Iraq’s crude is produced from areas managed by the central government of Baghdad, in the south, and exported from southern ports on the Gulf. The KRG exports about 300,000 bbl/d of crude from northern Iraq through a pipeline across Turkey.