Smartphones can pretty much do anything nowadays. Including saving one’s life.

An Australian man is lucky to be alive after he was able to fend off an alleged bow and arrow attack with his phone.

Officers from the New South Wales Police Force say that a 43-year-old man was exiting his vehicle on Wednesday when he was greeted by a man he knew, who was brandishing a bow and arrow outside his home.

As most smartphone owners do nowadays, the man pulled out his device to snap a photo of the scene when police say the alleged archer pulled his bow back and “was ready to fire.”

Cops say the armed male fired the arrow at the man, piercing his smartphone, which caused the device to hit him in the chin.

“It left a small laceration that didn’t require medical treatment,” cops said in a Facebook post.

The armed 39-year-old suspect was arrested and charged with “armed with intent to commit an indictable offence, assault occasioning actual bodily harm and malicious damage.”

The suspect was granted conditional bail and is expected to appear in court on April 15.