The El Dorado Police Department is crediting a local dog with helping them nab a criminal.

Police say they were serving a felony warrant on Tuesday when the suspect decided to run.

The suspect jumped several fences, but the last yard the suspect jumped into belonged to Brody, the dog.

Police say Brody’s quick thinking stopped the suspect long enough that officers were able to make an arrest as the suspect jumped out of the yard that Brody was in.

"TIP: If you decide to run from the police don’t jump into a yard with a dog like Brody," the department concluded on its Facebook page.