The Spanish Inquisition was political and not run by the Vatican. It was also overblown by Martin Luther’s followers.
You might want to check that history.