Peloton Interactive Inc. has agreed to buy fitness equipment company Precor for $420 million to gain U.S. manufacturing capabilities and new expansion opportunities.

The deal is expected to close early next year and is the largest to date for the New York-based maker of pricey bikes and treadmills.

Peloton sales have soared this year as the pandemic shut gyms and forced people to work out from home. Mergers & Acquisitions analyzes the plethora of exercise equipment M&A and private equity deals during the pandemic in our November/December cover story, The New Consumer: Deals Thrive in 5 Key Sectors, as Covid Changes the Way We Live Now.

However, the company struggled to keep up with demand. That led to long wait times and frustrated customers. By making fitness equipment closer to U.S. consumers, Peloton will be able to deliver products sooner. Existing manufacturing facilities overseas will continue operating, according to the company.

“We have seen a ton of growth. No one would wish a global pandemic on anybody, but it’s been a tailwind for our business,” Peloton President William Lynch said. “Keeping up with that growth, which has been a moving target, has been a big company priority.”

“As we’ve been investing in scaling our manufacturing, this is an area where Precor is very strong,” he added.

Precor, a division of Finnish sporting goods company Amer Sports, is owned by a group of investors including Anta Sports, FountainVest Partners, Anamered Investments Inc. and Tencent Holdings Ltd.

Anta last year was considering a sale of Precor after receiving approaches from potential buyers, Bloomberg reported at the time, following the Chinese company’s acquisition of Amer.

“The cash generated from this disposal helps to improve cash flow,” Suki Wong, Anta’s senior investor relations director, said in a message. “The transaction also helps Amer to invest more resources into its big brands and core development areas.”

Through the deal, Peloton will gain 625,000 square feet (58,000 square meters) of manufacturing capacity in Whitsett, North Carolina, and Woodinville, Washington. That should help the company get its products to U.S. consumers faster, starting in late 2021.

Precor provides commercial-grade stationary bikes, ellipticals, treadmills, climbers and strength-training equipment to gyms, hotels, apartments, college campuses and other corporate locations. Thus far, Peloton’s business has focused on sales to consumers, but the company plans to use Precor’s relationships to expand into the commercial market.

The deal will also bring about 100 Precor research-and-development engineers to Peloton. Precor will operate as a business unit of Peloton and Precor President Rob Barker will become chief executive officer of this division. He will also be general manager of the new Peloton Commercial business, reporting to Lynch, the company said.

The $420 million transaction is a strategic departure for Peloton, which has mostly eschewed acquisitions — though Lynch said the company may pursue more deals. Peloton shares have jumped about 400% this year, valuing the company at $42 billion.