An Australian man has plead guilty to ignoring strict quarantine directives by leaving a Perth hotel a number of times to visit his girlfriend.

Jonathan David, 35, will spend just one month behind bars after failing to comply with orders which told him not to leave his hotel room.

He was sentenced on Wednesday to six months and two weeks in prison, but the majority of the term was suspended.

David also received a $2000 fine.

However, if he commits another crime within the next 12 months, he could be forced to carry the entirety of his prison sentence.

After travelling from Victoria, David was sent into quarantine at the Travelodge Hotel in Perth for 14 days but stuck out numerous times and used public transport.

Police not he wedged a fire exit door at the hotel so he could come and go as he pleased without staff seeing him.

A police prosecutor labelled David's actions as “gross stupidity”.

Magistrate Elaine Campione said he had been “more than foolish” and was “selfish in the extreme” during a state of emergency.

“You chose to roll the dice with other people's lives and that was breathtakingly arrogant,” she said.

People must at least 1.5 metres away from others and gatherings are limited to two people unless you are with a family or household.

Image: SBS

This article originally appeared on Over60.