SpaceX has launched a top-secret spy satellite for the US government and then successfully landed the booster for recycling.

The unmanned Falcon 9 rocket lifted off from its Nasa-leased pad at Kennedy Space Center in Florida.

It was SpaceX’s first mission for the National Reconnaissance Office. No details were divulged about the newly launched NRO satellite. Instead, SpaceX focused its webcast on the successful touchdown of the first-stage booster.

The leftover booster – its job – landed next door at Cape Canaveral several minutes after liftoff. Sonic booms rattled the area, serving as a Monday morning wake-up call. Across the country, cheers erupted at SpaceX mission control at company headquarters in Hawthorne, California.

SpaceX strives to return most of its boosters for reuse. The company’s first recycled rocket flew last month.

This was the fourth SpaceX booster landing at Cape Canaveral; even more have landed on ocean platforms.

Close-up of rocket stage separation, fast flip, boostback burn in a ring of fire and then landing burn A post shared by Elon Musk (@elonmusk) on May 1, 2017 at 6:53am PDT

SpaceX founder and chief executive Elon Musk said via Twitter that the launch and landing were good. But the upper-level wind at liftoff was “unusually high”.

“Tough call, as high altitude wind shear was at 98.6% of the theoretical load limit,” he said in a tweet. Earlier in the morning, he noted about the wind: “Worrying, but not a showstopper.”

Sunday’s launch attempt was foiled at the last minute by a bad sensor.