A Roman dictator was an extraordinary magistrate in the Roman Republic endowed with full authority to resolve some specific problem to which he had been assigned. He received the full powers of the state, subordinating the other magistrates, consuls included, for the specific purpose of resolving that issue, and that issue only, and then dispensing with those powers immediately.
A dictator was still controlled and accountable during his term in office: the Senate still exercised some oversight authority, and the rights of plebeian tribunes to veto his actions or of the people to appeal them were retained. The extent of a dictator's mandate strictly controlled the ends to which his powers could be directed. Dictators were also liable to prosecution after their terms completed.