A man convicted in the killing of his ex-girlfriend in Miramar back in 2021 has been sentenced to life in prison.