from the first to the second republic