Charles had several sons, but only one survived him. This son, Louis the Pious, followed his father as the ruler of a united Empire. When Louis died in 840, the Treaty of Verdun in 843 divided the Empire in three: