KABUL, Jan. 29 (Xinhua) -- Militants' attack on a Afghan military base in the western edge of Kabul city was over, leaving five people including two security personnel and three attackers dead and 10 more security personnel injured on Monday, said a statement from the Afghan Defense Ministry.

"Five militants stormed a battalion of 111 Division in Charrah-i-Qambar area located in Police District 5 of Kabul city at 05:00 a.m. local time and the security personnel retaliated which lasted for few hours," the statement said.

According to the statement, the security personnel after a few hours of fighting were able to kill three attackers while one attacker had gone missing and another was killed in his blast.

However, the statement confirmed that two soldiers were killed and 10 others sustained injuries.

Earlier, some sources had reported that the target of the attack was Marshal Fahim National Defense University, but the report has been rejected by the defense ministry in the statement, which said the target of the militants was a battalion of 111 Division, where the attackers had used assault rifles and Rocket Propelled Grenades (RPGs) in the predawn storm.

Meantime, eyewitnesses have asserted that the militants had targeted Marshal Fahim National Defense University.

The situation has been brought under control and the security forces after physically eliminating the attackers have also discovered a number of arms and ammunitions including one RPG, one AK-47 and a suicide vest.

The hardliner Islamic State (IS) group has reportedly claimed responsibility for the attack.

Taliban outfit has claimed responsibility for the deadly attacks on Intercontinental Hotel and central part of Kabul on Jan. 20 and Jan. 27 respectively.