Malaysian police arrested seven people for alleged links with the Islamic State (IS) terror organization, including a man who threatened to assassinate the Malaysian King and the Prime Minister, Malaysian police said Thursday.

The arrests were made during operations between Mar. 12 and Mar. 17 in the states of Johor, Terengganu, Selangor and Perak, the Inspector General of Royal Malaysia Police, Mohamad Fuzi Harun, said in a statement.

The arrested are four Malaysians, including one woman, and three Indonesians, he added.

One of the Malaysians used his Facebook account to threaten to assassinate the Sultan of Johor, who is the current head of state, Prime Minister Mahathir Mohamad, and Minister of Religious Affairs, Mujahid Yusof Rawa, as he said that they do not govern the country in accordance with Sharia law.

The other three Malaysians allegedly contacted or sent money to Malaysian IS militants in Syria and Iraq, or showed their intention to join the extremist groups in the Middle East.

Two of the three Indonesians admitted having links with the extremist organizations in Indonesia, while the other one declared himself a follower of the IS and admitted that he planned to travel to Syria to join them.

Around 300 people with links to IS have been arrested in Malaysia in recent years, while about 100 Malaysians are fighting in Iraq and Syria with militant groups.

Malaysia has a population of nearly 30 million, 61 percent of which belong to the Muslim community.