Louis is forced in 864 to grant Carloman the kingdom of Bavaria, which he himself had once held under his father.