It was refurbished and the whole palace greatly extended in the following years.
The palace expanded over the next few years.
mnli hypothesis: The palace expanded over the next few years. premise: It was refurbished and the whole palace greatly extended in the following years.