ISLAMABAD - Gunmen opened fire on a military encampment in eastern Pakistan on Monday, killing six soldiers and a policeman, the military said in a statement.

"A small rescue party had camped on the bank of (a) river to search for the body of a drowned/missing pilot," the statement said.

"Today, early morning, a few unknown assailants opened fire on the rescue party, which resulted in the shahadat (martyrdom) of six security forces personnel."

The gunmen fled the scene after the shooting.