In fact, the fountain was completed several years before Borromini's splendid and structurally impeccable facade and dome.
The fountain was finished years before the dome.
The dome was created before the fountain.