PETALUMA (CBS SF) — Two Petaluma police officers rescued a man who was stuck in the mud of the Petaluma River early Monday morning.

Officers Jake Gutierrez and Corie Joerger responded around 12:45 a.m. to reports of a man screaming for help in the Steamer Landing Park area, police said.

READ MORE: Dozens of Dogs, Cats Removed From Danville Home

The man apparently fell from a walking path and into the river while walking home. His legs were stuck and he sank deeper in the muck when he tried to free himself, police said.

READ MORE: Oakland Church Group Hosts Party to Preach Anti-Violence by Practicing Community

K-9 Officer Joerger got a long dog leash from her patrol vehicle and she and Gutierrez used the leash to pull the man out of the river, police said.

The man was taken to Petaluma Valley Hospital as a precaution, police said.

MORE NEWS: 18-Year-Old Man Shot Dead, Another Wounded Saturday in Bay Point

© Copyright 2016 by CBS San Francisco and Bay City News Service. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.