Why did the Frankish rule end after Charlemagne’s death?