Early results show Pakistani opposition parties have made big gains in crucial parliamentary elections.
Opinion polls have tipped assassinated ex-premier Benazir Bhutto's Pakistan People's Party (PPP) and the party of another former premier Nawaz Sharif to beat the pro-Musharraf Pakistan Muslim League-Q (PML-Q).
But opposition leaders allege a campaign of massive rigging in favor of president Musharraf's allies and have vowed to hold street protests if the results are fraudulent.
The government has banned exit polls.
A senior electoral official in Islamabad said turnout was estimated at 40% of Pakistan's 81 million eligible voters.
It was claimed the figure was affected by security fears and violence that left at least 18 dead and 100 injured on Sunday and today.
President Musharraf, who seized power in a coup in 1999 and stepped down as army chief in November, called for reconciliation after the vote and warned all parties to accept the outcome gracefully.
The election should have been held last month but the assassination of former Prime Minister Benazir Bhutto in December forced the postponement.
Tens of thousands of troops were deployed across Pakistan in an attempt to ensure that the election is peaceful, free and safe.
Pre-election violence
Five people were killed yesterday in an attack in the eastern Pakistani city of Lahore.
The victims included a provincial assembly candidate from opposition leader Nawaz Sharif's Pakistan Muslim League party.
Gunmen opened fire on Asif Ashraf's vehicle when he was visiting his constituency in Lahore.
Mr Ashraf and three others, including his secretary and a bodyguard, died on the way to hospital. A wounded supporter died in hospital early today.
The election commission postponed voting in the constituency after the candidate's death.
Mr Sharif and the husband of slain opposition leader Benazir Bhutto condemned the killing and demanded the killer's arrest.
In other unrest, a worker for Mr Sharif's party was shot dead by rivals outside a polling station in the industrial city of Sialkot, north of Lahore.
Six people were injured during a clash between supporters of Ms Bhutto's Pakistan Peoples Party and the pro-Mr Musharraf Pakistan Muslim League uring voting.
Supporters of rival candidates fought with bamboo sticks in the Ghotki district of Ms Bhutto's home province of Sindh, according to local police.
And in a tribal area bordering Afghanistan, a bomb blast ripped through a wall of a polling station while around 300 people queued to cast their votes, officials and witnesses said.
The morning blast occurred at the Vocational Training Institute near Khar, the main town of Bajaur tribal district, but no one was injured.
Polling there resumed soon after the blast.
Click here to read more about the election