At least 30 people have been killed and 15 hurt in a suspected suicide car bomb attack in northwest Pakistan.
The blast destroyed a school in the town of Buner on the edge of the Swat valley, where voters were casting ballots in a parliamentary by-election.
The explosion caused the collapse of a nearby market, police said.
No one immediately claimed responsibility for the blast, the latest in a wave of suicide and other attacks across Pakistan that have claimed more than 1,500 lives in the past 18 months.
The Pakistani military has been fighting Taliban-linked militants in the area for more than a year, but the violence has continued unabated.