After breaking into Michael's Downtown, a burglar stole several electronics and $2,800 in cash. Photo courtesy chef Giuseppe Musso.

An ex-con who was arrested in connection with a series of break-ins at restaurants earlier this year in Long Beach pleaded no contest today to a felony count of second-degree commercial burglary.

Corey James Swayney, now 21, was immediately sentenced to four years in state prison.

Swayney admitted that he had two prior convictions for burglary last year.

Following his June 23 arrest by Long Beach police, he was charged with eight felony counts of second-degree commercial burglary involving break-ins between June 12 and June 21 at La Taqueria Brand, Waffle Love, The Breakfast Bar, Chipotle, Chen’s Chinese Restaurant, Pancho’s Vegan Tacos, Park Pantry and The Ordinaire.

Detectives were able to determine through video surveillance footage that one suspect was involved in the series of burglaries, according to Long Beach police. Investigators said each restaurant was broken into through its front door and money and/or electronics were stolen.

As a result of his plea, Swayney agreed to pay restitution involving all of the charges.

Man broke into at least 8 Long Beach restaurants in span of 3 days, police say