MIRANSHAH - Militants attacked an army checkpost in Pakistan's troubled northwest near the Afghan border, killing one soldier and wounding three others, officials said Monday.

The incident took place late Sunday night in Miranshah, the main town of the North Waziristan tribal region where Taliban and Al-Qaeda-linked militants have carved out strongholds.

"A group of militants attacked the checkpost, killing one soldier and wounding three others," a local security official said, adding that the militants fled immediately afterwards.

A local administration official also confirmed the attack.

Haq Nawaz, a tribal police official, said that army troops retaliated by firing mortars.

Three civilians were also reported killed and seven wounded in the clash.

In a separate incident on Sunday, a roadside bomb killed one soldier and wounded three others in Miranshah.

North Waziristan, a site of frequent US drone strikes, is one of seven semi-autonomous tribal regions in Pakistan.