Indonesian police said they have shot and wounded a suspected supported of ISIS terrorist group, after he injured several police officers with machetes and threw pipe bombs at them near the Indonesian capital, Jakarta.

Awi Setiyono, Jakarta’s police spokesman, said the attacker, named Sultan Azianzah, was shot in the legs several times by the police after he stabbed three traffic police officers.

The incident happened Thursday morning.

Setiyono noted that the 21-year-old attacker also threw two suspected pipe bombs at the police, but neither exploded.

He further said that the attacker was a member of a local extremist group and was suspected of being and ISIS sympathizer.

The assailant was subsequently taken to a hospital for medical treatmen under police custody.

In an earlier attack back in January, four bombers detonated explosives at shot at people, killing 8 and injuring at least 20 others. ISIS claimed responsibility for the attack. The assault took place in a district packed with malls, embassies and UN offices.

According to senior officials in Jakarta, roughly 500 Indonesians have moved to the Middle East to join ISIS and other militant groups. Estimates show that nearly 100 have returned to the Southeast Asian country in the past few months.

Indonesia’s law enforcement agencies claim that the current laws to fight extremist groups, which was put in place in 2003, are inadequate.