Roman dictator
The dictator in ancient Rome was a magistracy of the cursus honorum which allowed a person to serve the Roman state and having more power for up to six months. The Roman senate chose a Master of the Horse (magister equitum) who could control the Dictator. The senate gave him a well defined task and some authority. He didn't get all the power although most of the people think he had. Originally, he was in charge of the infantry, but as time went on, culminating with the dictatorship of Sulla, the office became increasingly similar to modern dictatorships. After Caesar was killed and Augustus ascended the "throne", the dictatorship was virtually abolished and no one held the title in Rome afterwards.
The dictator was considered to be a normal magistrate and did not have the sense of modern dictatorship which is known nowadays.