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

Let me give you an example: Who did the Han Chinese want to help the Khitan no I mean the Mongols fight?
The answer to this example can be: Who did the Han Chinese want to help the Mongols fight?
Here is why: The input initially means Khitan and then changes to Mongols, hence this is correct.

OK. solve this:
How many or rather when the election produced an SNP majority government, what was it the first occurrence of?
Answer:
When the election produced an SNP majority government, what was it the first occurrence of?