Security forces raided two militant hideouts in former Taliban strongholds in northwestern Pakistan near the Afghan border on April 7, killing seven militants, the military said.
Four militants were killed in the first raid in North Waziristan, which in recent years was the base of several local and foreign militant groups, according to a statement by the military.
Three more militants were killed in the former tribal region of Mohmand, the statement said.
Security forces seized a cache of weapons from both militant hideouts, the military said.
It wasn't immediately clear what militant group was raided and the military provided no further details.
The military's claim could not be independently confirmed.
The Pakistan Taliban had been based in North Waziristan until 2017 when the military launched a series of large-scale operations that it claimed had dismantled the militants' network and killed, arrested, or dislodged many of them.
However, violence has continued in the region.
Pakistani Security Forces Say Seven Militants Killed Near Afghanistan