A Queens teenager pleaded guilty Wednesday to burglarizing several Nassau homes last year, including one where he was confronted by the homeowner, the Nassau district attorney's office said.

Onyx Arroyo, 19, of Rosedale, faces up to 8 years in prison at his July 10 sentencing on six counts of second-degree burglary and second-degree attempted burglary, prosecutors said.

His attorney could not be immediately reached Wednesday afternoon.

Arroyo was arrested June 24 after breaking into a Valley Stream home, where he was discovered by the homeowner, authorities said. He escaped through a window, but Nassau police found him after a 30-minute search, prosecutors said.

Arroyo had stolen property linked to another burglary that occurred earlier that day in Valley Stream and his fingerprints were found at another Valley Stream burglary on June 20, 2013, prosecutors said.

"By breaking into one home after another, this defendant brazenly violated an entire community's sense of security," District Attorney Kathleen Rice said in a news release.

Detectives tied two home break-ins or attempts to Arroyo, including one in Valley Stream and another in North Woodmere on June 6, 2013, and another in Valley Stream on May 31, 2013, prosecutors said.

Among the items he took were cash, electronics, clothes and sneakers, authorities said.

His co-defendant, Omar Allen, 18, of the Bronx, was sentenced in December to 31/2 years in prison on the two June 24 burglaries in Valley Stream, prosecutors said.

It seems shark sightings are dominating headlines on Long Island and researchers are on a quest to find out why more sharks are showing up in Long Island waters. NewsdayTV meteorologist Rich Von Ohlen discusses how to stay safe.  Credit: Newsday/A. J. Singh; Gary Licker

'Beneath the Surface': A look at the rise in shark sightings off LI shores It seems shark sightings are dominating headlines on Long Island and researchers are on a quest to find out why more sharks are showing up in Long Island waters. NewsdayTV meteorologist Rich Von Ohlen discusses how to stay safe. 

It seems shark sightings are dominating headlines on Long Island and researchers are on a quest to find out why more sharks are showing up in Long Island waters. NewsdayTV meteorologist Rich Von Ohlen discusses how to stay safe.  Credit: Newsday/A. J. Singh; Gary Licker

'Beneath the Surface': A look at the rise in shark sightings off LI shores It seems shark sightings are dominating headlines on Long Island and researchers are on a quest to find out why more sharks are showing up in Long Island waters. NewsdayTV meteorologist Rich Von Ohlen discusses how to stay safe. 

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 5 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME