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.
Community invited to name crane towers building new Mandurah Hospital
Hundreds of volunteers remove 525kgs of rubbish from Mandurah's waterways
Port Kennedy man fined $4.2k for failing to feed horse
Rockingham General Hospital patients face the longest waits for elective surgery
Australian-first drone technology to monitor emergencies, crimes in Baldivis, Kwinana, Rockingham
Teen accused of ordering firebomb attack on Baldivis tobacco shop
City of Mandurah sees sharp rise in animal cruelty reports
Geoff Valentine returns to Peel Thunder as senior coach
Golden Bay woman charged with lacing colleague's curry lunch with snail poison