The body of the 50-year-old cowherd, who was missing since Sunday, was found on Monday morning at Mailapathar area near Rakshashini forest of the district after which locals turned out in large numbers to protest, official sources said.
The mob turned restive and attacked the police with sticks and stones injuring two policemen.
Following the violence, the police opened fire to disperse the mob, killing two and injuring more than ten, three of them seriously.
The dead have been identified and the injured have been admitted to Goalpara Civil Hospital. The seriously injured have been referred to Guwahati Medical College Hospital.
The situation in the area was stated to be tense and senior police and civil officials were camping in the area, the sources added.