Former attorney sentenced to 12 years to life