"Ortega-Hernandez's lawyers say he was suffering from extreme depression and mental stress at the time of the shooting and was under the misguided belief that Armageddon was coming. They argue the 23-year-old should only spend 10 years in prison.

"Prosecutors initially charged Ortega-Hernandez with attempting to assassinate President Barack Obama but agreed to drop the charge as part of a plea deal in 2013."

The president and first lady were in California at the time of the shooting.