Drugs and firearms were found during the search, deputies said.
Investigators later identified Ayer as another suspect. He had been on the run from police until his arrest this weekend, officials said.
>> Read more trending news
Deputies said they spotted Ayer's car Saturday and pulled him over. Ayer got out of the car, ran from deputies and hid in a nearby field, officials said.
Searchlights were put up in the area while officials looked for Ayer. Deputies were able to see a dog's eyes glowing and looking at them, according to the incident report. When deputies went toward the dog, they found Ayer hiding, the report said.
Deputies said they later found out that the dog that helped them was Ayer's personal pet.