A number of unidentified gunmen have attacked Afghan forces working at the largest U.S. military base in Afghanistan, killing eight and injuring two Afghan forces.

The attack was carried out near the Bagram Airbase in Shah Kah Village on Monday night.

Reportedly, the attack took place when a group of soldiers were on their way to work, according to Tolo News.

No group has so far claimed responsibility for the attack, while both ISIS and Taliban terrorist groups are active in the country.

Meanwhile, Taliban militants carried out a deadly attack on police headquarters in Gardez City, the capital of Paktia Province on Sunday.

Two police officers were killed and five others sustained injuries during the attack.

Afghanistan has been the scene of conflicts since the United States and its allies invaded the country back in 2001. This is while many parts of the country are still suffering from the militancy despite the presence of foreign forces.

Taliban has been carrying out deadly attacks across the country for the past 16 years. The attacks have mostly targeted innocent civilians.

ISIS, the deadliest terrorist group across the world, has also been active in Afghanistan, recruiting Taliban defectors. The terrorist group are launching attacks on the country.