A 19-year-old Meadow Springs man has admitted to making death threats towards the Prime Minister and the New South Wales Premier.
Will James King, 19, pleaded guilty to the charge of threatening to kill in the Mandurah Magistrates Court on Tuesday.
The court heard, King sent a direct message to NSW Premier Chris Minns' Instagram account on January 14.
He was arrested later that night by State Security Investigations detectives.
The messages were read out in court.
"You're a Jew, not a real Semite," the message said, according to ABC News.
"I'll assassinate you and Albo and the country will be a better place."
King's lawyer told the court her client was not a racist and was extremely remorseful.
The court also heard King told police he did not mean for the messages to be a threat.
King will reappear in court on June 26.

Bushfire readiness takes centre stage at City of Kwinana's free Summer Sounds festival
WA Open Golf Championship to tee off at Secret Harbour Golf Links
Halls Head named WA's most persistent storm damage hotspot
Four illegal e-bikes to be crushed after police crackdown in Halls Head, Falcon
Aboriginal jobs and careers expo to attract 1000 attendees in Rockingham
Firefighters attend Lakelands home after reports of thick smoke
WA Government to ban screen use for younger students as part of six-month trial
Singleton General Store shutdown over illicit tobacco, vape sales
Concerns for missing Bertram woman
