The consuls of the Roman Republic were the highest ranking ordinary magistrates; each consul served for one year. Consuls had supreme power in both civil and military matters. While in the city of Rome, the consuls were the head of the Roman government. They would preside over the senate and the assemblies. While abroad, each consul would command an army. His authority abroad would be nearly absolute. Praetors administered civil law and commanded provincial armies. Every five years, two censors were elected for an 18-month term, during which they would conduct a census. During the census, they could enroll citizens in the senate, or purge them from the senate. Aediles were officers elected to conduct domestic affairs in Rome, such as managing public games and shows. The quaestors would usually assist the consuls in Rome, and the governors in the provinces. Their duties were often financial.