A man is fighting for life after he fell into a hole and was buried by sand on the northern end of Bribie Island in Queensland.
The 25-year-old man was at the beach for a gathering with friends when he became buried under the sand just before 2pm today.
Paramedics told 9News the friends dug a hole before the man fell into the hole head-first and became buried.
READ MORE: 'Saved his life': Man mauled by shark on Great Barrier Reef dive
The sand collapsed around the man, which forced him to go under.
It is understood the man was underneath the sand for an extended period of time, while his friends tried desperately to get him out.
The man had no pulse when he was pulled out of the sand and his friends commenced CPR.
Rangers were in the area and provided a defibrillator.
The area of the beach was difficult to reach for emergency services, who were about 20 minutes away from the beach access track.
They performed CPR for about 45 minutes before there was a return of pulse.
"The fact that they got a return of pulse on this young man after an extended period of CPR was evidence that good CPR was being done," Peter Batt from Queensland Ambulance Service said.
"It's a credit to those people who jumped in and helped with their first aid."
The man was flown to Princess Alexandra Hospital in a critical condition.