A similar question regarding the controversial aspect of his life, and his later glorification can be found here.
The thread is very good with a lot of interesting questions and remarks in the comments.
EDIT: i forgot to credit u/J-Force and u/CoeurdeLionne for their answers.