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

When did building activity occur was the Palace on the Water rebuilt?
When was the Palace on the Water rebuilt?