The U.S. economy grew at a strong 4.2% annual rate in the second quarter, the best showing in nearly four years, as growth stayed on track to produce the strongest gain in more than a decade. Strength in business investment offset slightly slower consumer spending.

The Commerce Department revised up its estimate of growth in the April-June quarter from an initial estimate of 4.1%. The second quarter was a sharp improvement from a 2.2% annual gain in the first quarter, though some of the strength came from temporary factors.

Economists expect growth to slow to a still healthy 3% annual rate the rest of the year, resulting in annual growth of 3% in 2018, the best performance since a 3.5% gain in 2005.

Also read:

Fed’s Powell hints at road ahead for rate hikes

Why the longest bull run will also be the strongest