Militants have attacked a Pakistani air force base near the northwestern city of Peshawar, the military said, adding that at least six attackers had been killed.
"As per initial information, seven to 10 terrorists tried to break deep in the base" but troops managed to contain them, military spokesman Major General Asim Bajwa said in a tweet.
An army officer and a soldier were wounded in an exchange of fire with the militants at the Badaber base, 10 kilometres south of Peshawar.
Bajwa says operations are continuing to search for any remaining gunmen.
The identity of the attackers was not immediately clear but Peshawar has suffered numerous Taliban assaults.
The city suffered the worst terror attack in Pakistani history in December when Taliban gunmen massacred more than 150 people at an army-run school, most of them children.
But since then there has been something of a lull in violence.
The last major attack in the city came in February when three heavily armed Taliban militants stormed a Shi'ite mosque, killing 21 people.
A senior PAF official told AFP the base attacked on Friday (local time) was used as a residential camp for air force personnel.
"There are no air assets including combat aircraft deployed at the base," he said, requesting anonymity because he was not authorised to speak to the media.
Pakistan has been waging a major offensive against insurgent hideouts in the tribal northwest for over a year in a bid to quell an Islamist insurgency that has raged for more than a decade.
Officials say nearly 3000 militants have been killed since the launch of the latest offensive.