Judge John LeBlanc ruled that since 22-year-old Robert Power, of Martinez, accepted the sentence in a plea bargain, he cannot appeal it.
Power could have gotten up to 140 years for shooting deputies Roland Guillot and Bridget Rupe.
Power had asked permission to appeal after the usual one-year limit.
Trial attorney Martin Regan testified Friday that he told Power's family that chances of winning an appeal were poor.
Power was 18 when the deputies were shot. He pleaded guilty 11 months later to two counts of attempted first-degree murder and one of aggravated escape.
Information from: Daily Comet, http://www.dailycomet.com