Definition: Given a disfluent sentence, modify the sentence to it to its equivalent fluent form, preserving the meaning of the sentence.
Input: In what year was the settlement no no sorry what year did Warszowa become the official capital of the Masovian Duchy?

In what year did Warszowa become the official capital of the Masovian Duchy?