DAMASCUS, Syria -- Against a backdrop of civil war, tens of thousands of Syrians voted in government-controlled cities and towns Tuesday to give President Bashar Assad a new seven-year mandate, with some even marking the ballots with their own blood.
The carefully choreographed election was ignored and even mocked in opposition-held areas of Syria where fighting persisted, with some rebels derisively dropping their shoes in a phoney ballot box in a show of disgust. Western leaders also called it a sham.
A victory for Assad is likely to bolster his base of support at home and provide further evidence that he has no intention of relinquishing power, making a protracted conflict the likely outcome in fighting that has already lasted three years.
Fears that the rebels would rain down mortar shells on government-controlled territory did not materialize, but fighting persisted.
State-run media reported that voting closed on midnight Tuesday, and election officials began the process of checking the number of votes against lists of registered voters to ensure numbers matched. In one central Damascus voting booth, 2,196 people cast their ballots -- all but two were for Assad, counted an AP reporter who watched representatives of each presidential candidate tally votes.
The announcement was accompanied by wild beeping and cheering on central Damascus by Assad supporters. It was not immediately clear when election results would be announced.
Earlier in Damascus, the dull sounds of explosions reverberated in the distance as government forces and rebels battled in nearby rural towns and plumes of grey smoke marked the skyline. Several mortar rounds reportedly hit in the capital, including one that fell near the Opera House on a major plaza.
At least three fighter jets roared low over the city, which residents said was unusual. Government warplanes and helicopters pounded the rebellious Damascus suburb of Daraya, the southern city of Daraa and the nearby town of Nawa, as well as opposition-held districts of the divided northern city of Aleppo.
Voting took place only in government-controlled areas, excluding much of northern and eastern Syria. Tens of thousands of Syrians abroad voted last week, although many of the more than 2.7 million Syrian refugees across the region either abstained or were excluded by law.
There were ostentatious shows of support for the 48-year-old Assad, who has ruled Syria since 2000, when he took over after the death of his father, Hafez. There was a carnival-like atmosphere, with voters singing, banging drums and dancing with Syrian flags. Chants of "God, Syria and Bashar!" were heard.
At a polling station in the upscale Dama Rose hotel in central Damascus, a blue cup filled with pins was set out for those who wanted to vote in blood. Some pricked their fingers repeatedly to draw enough blood to mark the circle under Assad's name on the ballot -- an act of allegiance and patriotism that has been used in previous elections under both Assads.
Most voted in ink, though, and some made their choice for Assad in full sight of other voters and TV cameras instead of using a curtained booth for privacy.
They said re-electing Assad would give him more legitimacy to find a solution to the devastating conflict that opposition activists say has killed more than 160,000 of their countrymen, about a third of them civilians.
Most Syrians said they believed some sort of reconciliation had to take place alongside the military crackdown, which they saw as inevitable.
"Dialogue can't be a solution when somebody is waving a gun in your face," said Zeina Habal after she voted in Damascus. "You speak to the people who have wisdom to understand, and you defend yourself at the same time."
The government has portrayed the election as the solution to the conflict, but there is no indication it will halt the violence or mend a bitterly divided nation.
"Assad's victory will not legitimize the regime, but will cement its resilience," said Ayham Kamel, an analyst with the Eurasia group in London. He said the election will also reinforce the military's recent gains and further undermine the ability of radical or moderate rebels to replace the government.
"The Western countries are claiming that they are practicing democracy, so we came here to vote to show and teach them how democracy could be," said George Saadeh, a resident of the overwhelmingly Christian district of Bab Touma.
Despite the civil war, Assad has retained support among a significant section of the population, including religious minorities who fear for their future.
The Interior Ministry said there were 15.8 million eligible voters, both inside and outside Syria, and that 9,600 voting centres were set up around the country. The committee had extended voting earlier in the day by five hours because of what it called "high turnout at the ballot box."
Assad voted in the morning at a school in his posh Damascus neighbourhood of al-Malki with his wife, Asma. Both were shown on Syrian TV signing their names in a registration book after inserting their ballots in a transparent box. Crowds around him burst into applause.
It was Syria's first multicandidate presidential election in more than 40 years. Assad faced two government-approved challengers, Maher Hajjar and Hassan al-Nouri, both of whom were little known in the country before declaring their candidacy in April.
Foreign Minister Walid al-Moallem voted with a Syrian flag wrapped like a shawl in his first public appearance since undergoing heart surgery in March, saying: "The path toward a political solution to the crisis begins today."
A few polling stations operated in the capital's destroyed Old City, which was recently evacuated by hundreds of rebels after a cease-fire agreement with government forces. One station was set up in the courtyard of the heavily damaged St. Mary's Church of the Holy Belt.
"With the leadership of Bashar, my country will return to safety," said student Uday Jurusni, who voted in blood. "He is my leader and I love him."
In rebel-held territory, some residents openly derided the election.
In the northern town of Jisr al-Shughour, a group of people including armed rebels expressed their hatred for Assad by dropping their shoes in a "ballot box" made of cardboard. "We will vote for him with our shoes," one man said to the cries of "Allahu akbar," or "God is great."
In opposition-controlled eastern Aleppo, residents voted to strip Assad "the killer" of his Syrian citizenship.
Activists inside Syria referred to the voting as "blood elections" for the horrific toll the country has suffered.
Ahmad Ramadan, a senior member of the Western-backed Syrian National Coalition, described the election as "an act of deception," while the opposition's Western and regional allies, including the U.S., Britain, France, Saudi Arabia and Turkey, have called it a sham.
U.S. State Department deputy spokeswoman Marie Harf said the election was a "disgrace" and "staged," adding that Assad has denied people the right to vote.
A London-based Syrian opposition figure, Muhieddine Lathkani, called the vote a "black comedy."
"This election has no value and no one will recognize it, no matter what North Korea and Iran think about it," he said, referring to some of Syria's allies.
At the U.N., Russian Ambassador Vitaly Churkin criticized Western countries that believe the election ruled out any progress on the political front.