Given a disfluent sentence, modify the sentence to it to its equivalent fluent form, preserving the meaning of the sentence.

How was or no rather when was Middle and Western Francia formed?
When was Middle and Western Francia formed?