RNLI lifeguard, Cavan Walker, immediately ran over to try to resuscitate the man as lifeguard, Scott Brierley, joined him with lifesaving equipment.

The two lifeguards called an ambulance and carried out CPR until senior lifeguard Henry Baxter arrived to help move the man further up the beach to dry sand.

Local shop owner and former lifeguard and Filey RNLI lifeboat crew member, Gary Wilson, helped set up the defibrillator and provided extra support as the lifeguards carried out casualty care.

The 51-year-old said: "I've been down to see them I took them a sea trout each. If it wasn't for them I would have been dead.

"I was pushing my boat out and I collapsed. They all got an arm and a leg and helped bring me back to dry sand.

"I was told they were doing CPR for 10 to 12 minutes until a defibrillator was set up."

After paramedics arrived, Mr Richardson started showing signs of recovery. The air ambulance arrived and he was taken to Castle Hill Hospital in 12 minutes.

He was in hospital until Saturday July 21 and is now recovering well.

RNLI Lifeguard Supervisor, Matt Jones, said: "The lifeguards did an incredible job and demonstrated the high quality training they receive in providing casualty care. Their prompt actions and early use of the defibrillator saved his life. As a team, we couldn’t be more proud. We are seeing a rise in situations that require medical attention and the more we all train together, the more effective all agencies work together.

"We’d like to thank Gary Wilson for all of his help and support of the lifeguards, as well as to the paramedics of Yorkshire Ambulance Service for their quick response. And also Filey Coastguard Rescue team for their effective coordination and crowd management.

"Above all else, we are thankful that [Jamie] has made a rapid recovery and is doing well."

After being discharged from hospital, the Mr Richardson visited the lifeguards that saved his life, bringing them fresh fish to say thank you and show his appreciation.