The judge handed down the sentence in a Placer County courtroom Friday afternoon