When Did Rome Become a Republic?

Rome became a republic in 509 BC after their king, Tarquin had been overthrown. Without a king, it let Partician families take over and rule the senate.