The incident took place in the southern state of Johor in the early hours of Friday morning.

Two police officers have been killed and one injured in Malaysia after a man suspected to be part of the hardline Jemaah Islamiyah group stormed a police station.

The attack took place in the early hours of Friday morning in the town of Ulu Tiram in the southern state of Johor as police on duty dealt with a couple who had said they wanted to make a statement about a two-year-old incident, Inspector General of Police Razarudin Husain was quoted as saying in the New Straits Times newspaper.

While the group was talking the suspect arrived at the back of the station on a motorcycle, armed with a machete.

When an officer confronted the man, he lashed out with the machete, grabbing the policeman’s service revolver to shoot dead the second officer.

Razarudin said investigators suspected the man, who was shot dead by a third officer who was injured after being slashed with the machete, was planning to seize weapons for a “yet to be determined agenda”.

Razaurdin told Malaysian media that police raided the suspect’s house, not far from the police station, and found “numerous JI-related paraphernalia”. Five members of his family were arrested, including the suspect’s 62-year-old father who police said was a “known JI member”. The two people who were lodging the police report were also detained.

Other members of JI living in the state, which borders Singapore, were also being arrested, the Malay Mail news outlet quoted Razarudin as saying.

Jemaah Islamiyah is an al-Qaeda-affiliated group that aimed to establish a hardline Islamic state in Indonesia and across Southeast Asia.

At its height in the 2000s, JI was alleged to have members from Indonesia to Singapore, Malaysia, Cambodia and the Philippines, and masterminded a series of deadly bombings, including the October 2002 attack in Bali that killed more than 200 people.

Some of its most prominent leaders were Malaysian, including Noordin Muhammad Top who acted as a recruiter, strategist and financier for the group and was wanted for involvement in a string of attacks in Indonesia.

Noordin was from Johor and was reported to have founded a religious school in Ulu Tiram.

JI is banned in Indonesia, Malaysia and Singapore.