Three Suffolk County men who used dog biscuits to distract a German shepherd after they broke into an East Quogue home Wednesday fled when one of the home's occupants startled them, Southampton Town Police said.

Police later caught the three in a vehicle and discovered they had burglarized another home in July, according to a news release from the department.

Wilson A. Garcia, 20, and Eli Garcia, 18, both of East Quogue, and Gustavo Gonzalez, 18, of Hampton Bays, each face two counts of second-degree burglary and are being held on $10,000 bail, police said. The Garcias are brothers, police said.

The were arraigned Thursday in Southampton Town Justice Court, police said.

Police said they linked the three to a July 11 burglary of a Spinney Road home in which they took a rifle, laptop, a video-gaming system, jewelry, coins and a Brinks safe.

advertisement | advertise on newsday

Police said they found the safe, which the three allegedly dumped in a wooded area near the home.

The three did not get any proceeds in Wednesday's attempt, also at a Spinney Road home.

Police said the three had thought the home was unoccupied and came prepared with biscuits for the dog.

advertisement | advertise on newsday

Late Thursday night, Eli Garcia was being held on a $10,000 bail at Suffolk County jail, while Gonzalez was preparing to leave after making his $10,000 bail. It was unclear Thursday night if Wilson Garcia had made his $50,000 bail.

With Ellen Yan