Millions of Greeks have voted in a crucial referendum on whether to accept the terms of an international bailout.
Opinion polls released as voting ended suggested a slight lead for the "No" vote.
No exit polls were published. The first official results are expected in the coming hours.
The government had urged people to vote "No", while the "Yes" campaign warned that this could see Greece ejected from the eurozone.
The governing radical-left Syriza party has criticised the bailout terms as humiliating. Its leading figures say rejecting the terms could give them more leverage in talks over the country's massive debt.
Prime Minister Alexis Tsipras said on Sunday that a "No" would show Greece's determination "not only to stay in Europe but to live with dignity in Europe".
However, international creditors have warned that a "No" vote could choke off vital funding for Greek banks and lead to "Grexit" - a chaotic departure from the common European currency.
The "Yes" campaign has framed the vote as a referendum on Greek membership of the eurozone.
(BBC)