A plea agreement did not preserve the issue of whether the court had authority to impose an upper term sentence. The defendant pled no contest to two charges and admitted one strike prior as part of a plea agreement, an agreement which included a sentencing lid of twelve years. The court sentenced appellant to twelve years, and the defendant appealed without seeking a certificate of probable cause. On appeal, the defendant raised a Blakely challenge to the courts selection of the upper term, but the Third District dismissed the appeal under People v. Shelton (2006) 37 Cal.4th 759. The plea agreement in this case did not preserve the defendants ability to challenge the courts authority to impose the upper term.