A 24-year-old Buffalo man with two prior felonies and seven other convictions was sentenced to five years in state prison by State Supreme Court Justice Deborah A. Haendiges for a second-degree burglary conviction, the Erie County District Attorney’s Office announced Thursday.

Darryal Aughtry attacked his ex-girlfriend on Aug. 5 in her Bryson Street home, repeatedly striking her in the face, the District Attorney’s Office said. He was convicted, as charged, on Sept. 26.