County Kerry, Ireland (CNN)Voters in Ireland cast their ballots in a landmark referendum to decide whether to remove a constitutional amendment that bans abortion in almost all circumstances.
Some 6,500 polling stations across 40 constituencies in the republic closed at 10 p.m. local time (5 p.m. ET). Counting of ballots will get underway on Saturday, with a result expected by mid-afternoon.
An electorate of around 3.2 million people were eligible to cast their ballots, including thousands of Irish people living overseas who have flown home to vote.
If the Yes campaign wins, Irish lawmakers are expected to enact legislation allowing for terminations in the first 12 weeks of pregnancy -- and later in cases where there is a risk to the mother's life or the fetus is not expected to survive.
A No vote would keep Ireland's abortion laws -- some of the strictest in the developed world -- in place.
The Eighth Amendment, which was added into the constitution following a referendum in 1983, places the rights of the fetus and the rights of its mother on equal footing, effectively banning abortion barring a "real and substantial risk" to the mother's life.
As with any proposed change to Ireland's constitution, the question has to be put to a referendum.
Ireland's Eighth Amendment
Abortion-rights activists -- advocating a Yes vote on Friday -- have long argued that the Eighth Amendment punishes women and doesn't stop abortions, which are exported, mostly to the UK, instead.
Their longstanding campaign to repeal the Eighth, as it is commonly known, has seen some change over the past three decades.
In 1992, the X Case made it legal for Irish women to travel abroad for abortions, adding the threat of suicide as grounds for abortion. In 2013, Savita Halappanavar died of sepsis after being denied a termination of a miscarrying fetus in a Galway hospital, prompting the government to pass a bill allowing abortions when a woman's life is in danger. And in June 2016, the UN's Human Rights Council ruled that the country's abortion regime su