Islamabad, Pakistan (CNN) -- Pakistani troops killed at least 29 militants in clashes and air strikes in the tribal regions along the border with Afghanistan, military officials told CNN.
The strikes all occurred within the last 24 hours, Pakistan military spokesman Maj. Gen. Athar Abbas told CNN on Sunday.
Other military officials said troops killed 11 militants, including a commander, when they fought off an attack on a military base in the Loesam region, which is in the Bajaur agency in northern Pakistan. Two soldiers were killed in the fighting.
In a ground offensive in the southern portion of Orakzai agency, troops killed 13 militants, officials said. One soldier was also killed in that clash.
Air strikes in the northern portion of Orakzai agency destroyed several militant hideouts, officials said. They did not say whether anyone was killed.
Orakzai is also in northern Pakistan. The northern districts have been the site of increased militant activity because militants fled to the area to escape the army's offensive against the Taliban in South Waziristan, Abbas said.
Five militants in South Waziristan were also killed in the last 24 hours as part of the offensive there, which has entered a sixth week, the Pakistan army reported. Hundreds of militants have been killed during the offensive.