Kingdom, Kings and an early Republic