The California resident who pleaded guilty to attempting to assassinate Supreme Court Justice Brett Kavanaugh in 2022 has been sentenced to eight years prison.