LOS ANGELES (CBSLA.com) — A man dubbed the “Hills Bandit” pleaded guilty Monday to federal charges stemming from a series of bank robberies from Laguna Niguel to Santa Barbara.

Stephen Richard Bartlett, 53, entered a plea to five bank robbery counts, each carrying a possible sentence of up to 20 years in federal prison.

READ MORE: United Teachers LA Vote In Favor Of Agreement With LAUSD For Physical Return To 2021-2022 School Year

However, in exchange for Bartlett’s guilty plea, prosecutors have agreed to ask for no more than a total of eight years behind bars, according to the U.S. Attorney’s Office. Bartlett will also be ordered to pay restitution of nearly $80,000, court papers show.

U.S. District Judge Dolly M. Gee set sentencing for July 8.

Defense attorney Joan Politeo declined to comment on the case outside court.

In most of the robberies, Bartlett walked up to a teller, displayed a handwritten note and demanded currency, specifying that he wanted $100, $50, and $20 bills. He also made threats that he had a gun, but no weapon was seen.

READ MORE: Suspected Car Thief In Custody After Pursuit Ends In North Hollywood

Bartlett was arrested Oct. 2 after a high-speed pursuit that spanned four counties, lasted some 90 minutes and involved multiple police agencies. He eventually lost control of the pickup truck he was driving on the westbound 210 Freeway just west of the 215 Freeway and crashed alongside the freeway, with the truck rolling onto the driver’s side.

Bartlett crawled out of the passenger-side door and surrendered.

Bartlett, whose driver’s license shows an address in Nevada, caused two crashes during the chase, one of them involving a California Highway Patrol vehicle, according to the CHP.

While being chased in Santa Fe Springs, he threw a gun from the vehicle that was recovered. It turned out to be a replica of a semiautomatic pistol, police said.

MORE NEWS: 1 Killed, 1 In Critical Condition After Shooting Near Eagle Rock Dispensary; Suspect In Custody

The “Hills Bandit” nickname came after two holdups in Laguna Hills last spring.

(©2015 CBS Local Media, a division of CBS Radio Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Wire services contributed to this report.)