Gunmen opened fire on a funeral in Pakistan on Sunday, killing four people in what appeared to be a sectarian revenge attack. The attack in the northwestern town of Dera Ismail Khan came a day after a Shi'ite Muslim professor was shot dead. His killing sparked violence protests by minority Shi'ites who ransacked some shops and blocked roads with burning tyres. "Mourners were returning from the professor's funeral when armed men opened fire on the funeral of a Sunni Muslim that was taking place nearby," senior police officer Hammad Abid told Reuters. Four people were killed and eight wounded, he said. Four gunmen had opened fire on the funeral from a graveyard. Two of the attackers were arrested, Abid said.