It didn't look good when these horses were stuck in the mud and the tides were rising.
Two horses near Fleetwood, Lancashire, England, were rescued from drowning after rising tides threatened their safety.
The horses became trapped in the mud after being ridden on a beach near the slipway near Quail Holme Road in Knott End last Sunday and were rescued by two kayakers, with assistance from RNLI, coastguards, and Lancashire Fire And Rescue Services.
HM Coastguard Fleetwood said the horses were rescued "in the nick of time."
On its Facebook page, the coastguard said that they used the Fleetwood-Knott End ferry to transport the rescue team across the river, "saving a good 30 minute dash."
It added: "Excellent multi agency teamwork, two relieved riders and two very excited horses when they were reunited."
"I will be shouting the horse's name in my sleep tonight," one of the coastguards said. "It was unbelievable the sound both horses made when they met afterwards they were very pleased to see each other to say the least."
Lancashire Fire and Rescue Service warned against riding by the edge of the water due to extremely soft sand.
Sue Carr, who said her daughter owns one of the horses, couldn't thank emergency services enough on Facebook.
"We were so terrified," she wrote. "That horse is my daughter's baby. Endlessly in your debt."
All images by LANCASHIRE FIRE AND RESCUE SERVICE via BBC.