Where does “共和” come from?

Words derived from “共和