Two homeless men were arrested and charged with burglary after a neighbor spotted them in the yard of a Hicksville home in May, Nassau police said.

On May 11, after police saw that a side window at a Rim Lane home was broken, they went into the backyard, where they found one of the suspects, Robert Hurley, 33, caught on a fence, Nassau police said in a statement on Thursday.

The other suspect, Gerasimos Efthimiou, 26, ran away on foot; he was arrested at an East Meadow Starbucks on Wednesday, police said. A bottle of oxycodone pills, which police said was stolen from the home, was recovered.

Both men were charged with a felony burglary, the police said.

Hurley was arraigned on May 12; Efthimiou was arraigned Thursday, police said.

The defendants were represented by the Legal Aid Society of Nassau County; their lawyers were not immediately available.

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Disturbing details in Jor'Dynn Duncan death ... What's the weather forecast? ... Out East: LI Game Farm ... Get the latest news and more great videos at NewsdayTV

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Disturbing details in Jor'Dynn Duncan death ... What's the weather forecast? ... Out East: LI Game Farm ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME