A tourist in Australia nearly drowned after she fell off a pier while browsing Facebook on her phone.

The woman was walking along a bay in Melbourne on Monday night when she became distracted by something in her Facebook newsfeed and plummeted into the water below, The Associated Press reported.

Police found her flailing around in the water about 65 feet from the pier.

"She was still out in the water lying on her back in a floating position because she told us later that she couldn't swim," Senior Constable Dean Kelly of the state water police told the Australian Broadcasting Corp. "She still had her mobile phone in her hand and initially she apologized and said sorry."

The woman was taken to a hospital for treatment.