SANTA CRUZ (CBS SF) — A horse and rider got in trouble Tuesday afternoon in the Santa Cruz Mountains.

The horse and rider were traveling on a trail above the UC Santa Cruz campus.

READ MORE: South Bay BART Extension Funding Dropped From $1.9 Trillion COVID-19 Relief Package

The horse sank up to its chest in soft, wet sand while crossing a muddy creek.

READ MORE: EDD Fraud: Feds Indict 2 In State Prison Scam To Rip Off EDD Benefits

While a photo provided by CalFire rescuers looks bad, the story does have a good ending.

Rescue teams were able to divert some the water and firmed up the sand so the horse could get its footing.

MORE NEWS: Suspect Arrested In November Vallejo Murder Of Adrienne Florez

The horse and the rider were able to ride off in need of nothing more serious than a good cleaning.