Which revolution gave rise to a republican government?