The kingdom of Germany formed within what outer established empires?