Two police officers died in Pakistan's northwestern Bajaur tribal district while protecting health workers who were administering the polio vaccine to children on Monday, a security official said.

The two separate attacks took place in Bajaur, a district in Khyber Pakhtunkhwa province bordering Afghanistan.

The killings came on the first day of Pakistan's nationwide campaign to counter rising cases of polio.

"During the polio campaign in the tribal district of Bajaur District, two police officials assigned to protect vaccination teams were shot dead by motorcycle-riding militants in two separate attacks," a senior security official based in Peshawar told the AFP news agency.

Interior Minister Mohsin Naqvi condemned Monday's attacks and offered condolences to the families of the officers who were killed.