Barrientos was convicted of attempted murder on a police officer and given two life sentences after a trial at the Alameda County Court House.