At least five soldiers and 21 Taliban insurgents were killed Monday as Pakistani forces fought off fierce attacks on two of their checkpoints near the Afghan border, security officials said. About two dozen militants armed with assault rifles and rocket-propelled grenades raided a checkpoint in the Mattak area of the Bajaur tribal district, triggering an intense fight that left four soldiers dead and two wounded. "The security forces successfully repulsed the attack, killing six terrorists and injuring four others," a local intelligence official was quoted as saying by the German News Agency "DPA". Separately, 15 Taliban were killed Monday during an attack on a security post in Hangu, a district in the North-West Frontier Province, which borders the ungoverned tribal region. The pre-dawn attack in Torawarai village triggered a gunfight that also left one soldier dead and three wounded. "After exchanging heavy fire, the militants retreated with several comrades injured," local police officer Mirzali Khan said over the phone. Troops pounded suspected militant positions after the attack, but there were no immediate reports of casualties. --SPA Monday"s attacks came as more than 30,000 Pakistani soldiers battled several thousand Taliban and al-Qaeda-linked militants in their heartland of South Waziristan. The military announced its first major victory at the weekend when troops captured the strategic town of Kotkai after days of intense clashes. Kotkai is the birthplace of Pakistani Taliban chief Hakimullah Mehsud and the hometown of his close aide, Qari Hussain, known as "the mentor of suicide bombers."