Media playback is unsupported on your device Media caption The BBC has exclusively captured the historic moment that Aung San Suu Kyi cast her vote in Myanmar's election, as Fergal Keane reports

Votes are being counted in Myanmar's first openly contested national election for 25 years.

Turnout is thought to have been 80% in the poll - seen as a further big step away from decades of military rule.

Aung San Suu Kyi's National League for Democracy (NLD) is expected to win the most parliamentary seats, although she is barred from the presidency.

The military-backed Union Solidarity Development Party (USDP) has been in power since 2011.

Voting was generally smooth, observers say, with some isolated irregularities.

Crowds of excited supporters appeared outside NLD headquarters in Yangon as darkness fell, apparently expecting the hear results. Instead a party official read out a message urging them to calmly wait at home.

The first official results are expected to be issued from 09:00 local time (02:30 GMT) on Monday.

BBC reporters in Myanmar on Twitter:

Jonathan Head: "So Suu Kyi never showed at NLD HQ. Near impossible to get through crowd. They partied hard anyway. Just voting has been such a big deal."

Jonah Fisher: "NLD's Tin Oo is calling a few results unofficially. A USDP MP Hla Swe that the NLD supporters really don't like has apparently lost."

James Menendez, at polling station in Yangon: "Buddhist monk taking snaps of crowds outside NLD HQ (monks not allowed to vote) #myanmarelection"

Fergal Keane: "ASSK has visited her constituency in Kawhmum nr Rangoon. Followed by media convoy. Small clusters of locals watch it pass."

As polls opened on Sunday, long queues formed at some polling booths, with reports of people waiting from before dawn.

Smiling voters emerged after casting their ballots, some displaying fingers stained with purple - the official sign that they had voted.

"When I cast my vote I was very excited and so worried that I might do something wrong that my hands were shaking," said Kay Khine Soe, in Ms Suu Kyi's Kawhmu constituency.

Voting in Yangon, Wuhan Datong said: "I am 57 years old. I never participated in the previous voting since I had doubts over it. But the election this time is fair. So I have come to vote."

Media playback is unsupported on your device Media caption Eager voters formed queues at one polling station

About 30 million people were eligible to vote in the election in Myanmar, also known as Burma.

More than 6,000 candidates from over 90 parties vied to be elected to the 664-seat parliament in the first national elections since a nominally civilian government took power in 2011.

However, 25% of seats are reserved for unelected military representatives, who are expected to side with the USDP.

Ms Suu Kyi, a former Nobel Peace Prize laureate, is barred from the presidency as the constitution disqualifies anyone with foreign offspring - her children are British.

The NLD must take 67% of all contested seats in order to gain a majority.

On Thursday, she said she would be "above the president" if her party won.

At the scene: Jonah Fisher, BBC News, Yangon

Image copyright AFP

The party outside NLD headquarters started soon after the polls closed with several thousand people dancing and singing their way through the party's repertoire of songs.

Most were expecting Aung San Suu Kyi to make a speech and declare victory, but they were to be disappointed. NLD founder member Tin Oo instead took the microphone and told them that, though things were going well, with no results declared they should be patient. While some went home, the music fired up and festivities restarted.

International observers still have to give their verdict, but broadly speaking this election looks to have been credible.

If an NLD victory is confirmed, it will be a leap into the unknown for a country that has endured five decades of almost uninterrupted military rule.

In pictures: Day of excitement for voters

Decision-making in the Delta: Jonathan Head on the small but crucial town of Hinthada

Aung San Suu Kyi, profiled: International symbol of peaceful resistance

'Abandoned people': What rights do the Rohingya Muslims have?

Elections explained: Why does this vote matter?

Current President Thein Sein said he would accept the election result. He cast his ballot at a school in the capital, Nay Pyi Taw, built in 2005 by the military.

Hundreds of thousands of people - including minority Rohingya Muslims - were denied voting rights, raising concerns about the fairness of the poll.

The BBC's Jonah Fisher in Yangon says there are no reliable opinion polls in the country, so no-one really knows how the vote is going to play out.

Media playback is unsupported on your device Media caption Myanmar's elections explained

Ahead of the vote, security was stepped up across the country, with some 40,000 police guarding polling stations.

Ruled by the junta for nearly half a century, Myanmar has seen economic and political reform in recent years.

Ms Suu Kyi has already raised concerns about poll fraud and voting irregularities. In the 1990 election, the NLD won a majority, but the results were largely ignored by the generals.

For its part, the government has warned that rapid change could lead to civil unrest.