That doesn't change the fact that he was a dictator. Dictator refers to unlimited power that he had, not what he did with that power. Many dictators use their power to be oppressive, and so many people think that being oppressive is a requirement for being a dictator, but that is not the case. There are also benevolent dictators, one of which was Marcus Aurelius.