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: