Opstand, republiek en revolutie