During the days of the kingdom, most of the time it was little more than an advisory council to the king, but it also elected new Roman kings. The last king of Rome, Lucius Tarquinius Superbus, was overthrown following a coup d'état led by Lucius Junius Brutus, who founded the Roman Republic. During the early Republic, the Senate was politically weak, while the various executive magistrates were quite powerful. Since the transition from monarchy to constitutional rule was most likely gradual, it took several generations before the Senate was able to assert itself over the executive magistrates. By the middle Republic, the Senate had reached the apex of its republican power. The late Republic saw a decline in the Senate's power, which began following the reforms of the tribunes Tiberius and Gaius Gracchus.