The new republic struggled to define and extend democratic ideals in the face of rapid economic, territorial, and demographic changes.