A 52-year-old man accused of committing more than 20 robberies in a span of seven months has been sentenced to 25 years to life in state prison, the Los Angeles County District Attorney’s Office announced .

Michael Anthony Tapia of Pico Rivera pleaded guilty yesterday afternoon to one felony count of second-degree robbery and admitted allegations of two prior felony convictions. He was immediately sentenced by Los Angeles County Superior Court Judge Stacy Wiese.

Under the terms of a negotiated plea agreement, the defendant waived all credit for time already served in jail and is required to pay restitution to all of the victims named in the case.

Deputy District Attorney Lauren Guber prosecuted case KA117395.

Tapia committed 24 robberies in multiple cities across Los Angeles County from June 2017 to January 2018, according to court testimony. The defendant was apprehended at his home in February 2018.

The West Covina Police Department was the lead investigative agency in the case, with assistance from other local police departments and the Los Angeles County Sheriff’s Department.

Tapia was convicted of second-degree robbery in 1998 and attempted second-degree robbery in 2001.