The word dictator or despot in modern times is used to describe an absolute ruler of a country (other than a king). A dictator uses force and fear to keep themself, their friends, and their allies in authority.
They can effectively make laws all by himself. A country that is ruled by a dictator is called a dictatorship.