Media playback is unsupported on your device Media caption Kexit? Iraqi Kurdistan referendum explained - by the voters themselves
Voters are heading to the polls in a controversial independence referendum in the Kurdistan Region of Iraq.
Iraq's prime minister has warned he will take "necessary measures to preserve the unity of the country".
Western countries have expressed concern that the poll could provoke fresh conflict, and distract from the fight against so-called Islamic State.
But Kurds, who have long fought for their own state, have pressed ahead. The result, however, is non-binding.
A Yes result is widely expected.
Iraq has said the referendum must be suspended, but it cannot enforce that decision on the autonomous region.
Ahead of the vote, Prime Minister Haider al-Abadi said the vote was unconstitutional and threatened peace, adding: "We will take the necessary measures to preserve the unity of the country."
He did not make clear which measures he intended to implement.
Later, his government demanded the Kurdish region hand over control of its international border posts.
It also urged other countries not to buy oil from the Kurdistan region, but instead to deal only with the government on "oil and borders". Oil is one of of the Kurdistan region's main exports.
Media playback is unsupported on your device Media caption Iraqi Kurdish leader Massoud Barzani spoke to the BBC
The leader of Iraqi Kurds, Massoud Barzani, says that independence is the only way to guarantee the safety of his people.
"When have we ever had stability and security that we should be concerned about losing it?" he told the BBC in a recent interview. "Those who are saying this are just looking for excuses to stop us."
But he pledged that the referendum would not affect the fight against IS.
What is the Kurdistan Region of Iraq?
The autonomous region in the north is run by the Kurdistan Regional government, and it is formally recognised by Iraq's 2005 constitution.
That recognition came after decades of struggling for independence by the Kurdish population, who make up only 15-20% of the country's population.
In the wake of the first Gulf War, Kurdish leaders and armed forces consolidated their territory in northern Iraq, leading to the 2005 agreement.
It is the only place where the Kurdish people have formed their own government, despite many decades of armed struggle across four countries where its 30-40 million members live.
Iran and Turkey have also expressed concern that the independence referendum could provoke separatist movements among Kurds living in their own nations.
In Turkey, the Kurdistan Workers' Party is considered a terrorist organisation, and it has been engaged in a decades-long armed struggle for an independent state. A linked group, PJAK, exists in Iran.
Image copyright Getty Images Image caption In Irbil, supporters rallied in large numbers on Friday
But Kurdish fighters known as Peshmerga have been one of the most successful fighting forces against IS in Syria and Iraq.
They are considered a US military ally, although Washington does not support the referendum - favouring a series of negotiations on the future relationship between Iraqi Kurds and Baghdad.
Israel is the only nation to have openly supported the independence bid.
The Kurdish people are a distinct ethnic group spread across Iraq, Syria, Turkey, and Iran.
Polls in the independence referendum will remain open for 12 hours, until 20:00 (17:00 GMT).
Analysis: Turkey's talk all for show?
Mark Lowen, BBC News, Ankara
Turkey has called the referendum a "terrible mistake" and warned it could foment civil war.
Turkish tanks have been sent to the border with northern Iraq, and the parliament in Ankara has extended the mandate of Turkish troops to intervene in Iraq and Syria.
But the public condemnation is likely aimed more to please the government's nationalist support base -Kurdish insurgency in Turkey has killed 40,000 people since the 1980s.
Privately, Ankara is probably less hostile:
It has built up a strong relationship with the Kurdistan Regional Government, which exports hundreds of thousands of barrels of oil per day through Turkey
Around 1,300 Turkish companies work in Iraqi Kurdistan, having built Irbil airport
It relies on the Kurdish government's opposition to the PKK militant group, which operates from northern Iraq
While Ankara has threatened sanctions over the referendum, oil exports have not stopped and Turkish Airlines continues flights.
It all suggests Turkey's rhetoric is partly for show and behind closed doors it simply wants stability and continuing bilateral relations, whatever the outcome of the referendum.
Ayer, en el norte de , el  votó por el . Más de cinco millones de personas en el estado autónomo de  y sus zonas controladas, la , la , así como la capital iraquí, , votaron en más de 2000 urnas, a pesar de que el gobierno central iraquí se opuso fuertemente al referéndum.

La votación comenzó a las 8:00 am, hora local (UTC + 0300), y estuvo abierta durante diez horas. La papeleta decía: "¿Quieres que la región del Kurdistán y las zonas de Kurdistán fuera de la administración de la región se conviertan en un Estado independiente?". La pregunta estaba escrita en árabe, kurdo, asirio y turco. El domingo, el presidente del gobierno regional del Kurdistán, , defendió el referéndum no vinculante, diciendo: "¿Es un crimen pedir a la gente del Kurdistán que exprese de manera democrática lo que quiere tener para el futuro?". También dijo que el gobierno kurdo ofrecería a Bagdad "todo el tiempo necesario" para la negociación, pero el Kurdistán "nunca volvería a la asociación fracasada". Los kurdos son el grupo étnico más grande de Iraq. Kurdistán obtuvo el estatuto de provincia autónoma en 1991.

El gobierno iraquí pidió a los países vecinos que no importen petróleo del Kurdistán. El domingo, el primer ministro, , calificó este referéndum de "decisión inconstitucional contra el tejido social de nuestros ciudadanos, no reconoceremos el referéndum ni sus resultados". También dijo: "Tomaremos medidas de seguimiento para proteger la unidad del país y los intereses de todos los ciudadanos que viven en un Iraq unificado".

Los países vecinos de Iraq expresaron su apoyo al gobierno central iraquí. Irán bloqueó la frontera terrestre con Kurdistán ayer. El portavoz del ministerio iraní, Behram Qasimi, dijo que "a petición de Iraq, hemos cerrado el espacio aéreo y las fronteras terrestres con el Gobierno Regional Kurdo". El presidente turco, , dijo que Turquía había bloqueado la frontera de Habur y que dejarían de importar petróleo del Kurdistán. La conexión aérea de Irán y Turquía a la provincia de Kurdistán fue bloqueada desde el domingo. , ministro de Relaciones Exteriores de Siria, dijo que reconocen el Iraq unificado.

Se espera que los resultados del referéndum sean declarados para mañana.