After the division of the Kingdom in the Treaties of Verdun (843), Meerssen (870), and Ribemont (880), the Eastern Frankish Kingdom or East Francia was formed out of Bavaria, Alemannia, and Saxony together with eastern parts of the Frankish territory. The kingdom was divided in 864–865 among the sons of Louis the German, largely along the lines of the tribes. Royal power quickly disintegrated after 899 under the rule of Louis the Child, which allowed local magnates to revive the duchies as autonomous entities and rule their tribes under the supreme authority of the King.