The magistrat (consuls, praetors, censors, aedils, quaestors) was elected by the people. The offices weren't assigned by the senate!