Islamabad (CNN) Ten soldiers have been killed in two separate incidents across Pakistan, a military spokesperson said on Saturday.

In the first incident, a military statement said the attackers were "terrorists from across the Afghan border" who opened fire on a border patrolling party in North Waziristan, a mountainous region located in Pakistan's northwestern province of Khyber Pakhtunkhwa, which is close to the Afghan border.

Six soldiers were killed in the first attack, according to the military statement.

The second incident took place in the country's southwestern province of Balochistan, where a military operation left four soldiers dead. That attack was also attributed to "terrorists" by the military.

Tehreek-e-Taliban Pakistan (TTP) on Saturday claimed responsibility for an attack in South Waziristan, in which they called Pakistani military "America's slaves." However, the group did not claim an attack in North Waziristan, where the military said it occurred.