The Iraq-Turkey pipeline connects the rich oil fields around Kirkuk, Iraq, to the Mediterranean port of Yumurtalik in Turkey. It consists of two parallel pipes, 584 miles (941 km) long (398 miles or 641 km in Turkey), with a total capacity of 14 million barrels of crude oil. The first line was opened in 1977; the second, in 1987. It is operated jointly by the national oil companies of Iraq and Turkey. Oil flows through the pipeline ceased in 1991, in accordance with UN sanctions against Iraq after its invasion of Kuwait.