Ex-UFC champion sentenced to prison in attempted murder case