Sports giant Nike reported a jump in quarterly earnings Tuesday as increased marketing investments paid off with strong pricing of direct-to-consumer offerings and huge growth in China.

The footwear and apparel company, which has beefed up its “Nike Direct” business through smartphone applications and other programs, achieved higher sales in all regions.

Net income for the quarter ending August 31 was $1.4 billion, up 25 percent from the year-ago period thanks to higher gross profit margins.

Revenues climbed seven percent to $10.7 billion

The biggest jump in sales was in China, where revenues rose 22 percent to $1.7 billion compared with the 2018 period.

The company has said previously that it has seen no negative hit to its standing with Chinese consumers from the prolonged US-China trade war.

“Our targeted strategic investments are accelerating Nike’s digital transformation and extending our competitive advantage,” said Chief Financial Officer Andy Campion.

“Even amidst the increasingly volatile macroeconomic and geopolitical environment, we expect our unrelenting focus on better serving the consumer to continue fueling strong, broad-based growth across our global portfolio.”

Shares of Nike surged 5.3 percent to $91.77 in after-hours trading.