A Pakistan police officer says twin blasts in the southern city of Karachi have killed three people near the office of a political party critical of the Taliban.

Aamir Farooqi says the blasts late Saturday also wounded another 22 people. A spokesman for the Taliban, Ahsanullah Ahsan, claimed responsibility.

Farooqi said the explosions went off near the offices of the Muttahida Qaumi Movement, the biggest political party in the city.

The party is one of three liberal, secular parties that have been targeted by Taliban militants across the country in the run-up to the May 11 nationwide elections.

Pakistan is preparing for a historic transfer of power from one elected civilian government to another. But the election has been marred by repeated violence targeted at candidates and election offices.