Dublin, Ireland (CNN)Irish voters went to the polls Friday to decide whether to change the country’s constitution to allow same-sex marriage.
Counting will start Saturday morning, with the result due by the end of the day.
It’s a landmark referendum that, if passed, would make Ireland the first country in the world to legalize same-sex marriage through a popular vote.
Ireland’s voters were asked to approve this statement: “Marriage may be contracted in accordance with law by two persons without distinction as to their sex.”
If more say “yes” than say “no,” the change to the constitution will give gay and lesbian couples the right to civil marriage, but not to be wed in a church.
The referendum was a social media sensation, with many Irish people returning from abroad to vote in favor of same-sex marriage, then joyfully telling the world about it using the #HometoVote hashtag.