Steven James Alan Dean, 37, pleaded guilty in Perth Magistrates Court on Wednesday.
Dean also pleaded guilty to attempted aggravated armed robbery, aggravated home burglary and reckless driving, with offences allegedly committed on the same day.
The armed robbery charge allegedly relates to an incident at a service station in nearby East Victoria Park.
Police arrested Dean after a dual-cab utility he was driving was involved in a serious crash in St James.
Read Related Also: Daycare worker had 'water' bottle of wine in playground
He was remanded in custody and is scheduled to reappear for mention in the same court on August 28.
If you or someone you know is impacted by sexual assault, domestic or family violence, call 1800RESPECT on 1800 737 732 or visit 1800RESPECT.org.au. In an emergency, call 000.
Readers seeking support can contact Lifeline on 13 11 14 or beyond blue on 1300 22 4636.