founding of the republic