Luther never left the Catholic Church. He never intended to, and he never did. He was excommunicated in 1521 by Pope Leo X.
You are correct. I forgot my history in an emotional moment.