Image copyright Reuters Image caption The A220 was formerly known as the Bombardier CSeries before Airbus acquired a majority stake in the project

Bombardier's Northern Ireland operations have been sold to the US firm Spirit AeroSystems in a deal worth nearly £1bn.

The Canadian firm put the factories up for sale in May as part of a reorganisation of its business.

The aerospace manufacturer employs about 3,600 people in Northern Ireland.

Spirit, which is based in Kansas, is a major supplier to Airbus and Boeing. Earlier this year the company said it wanted to do more work for Airbus.

Buying Bombardier's Northern Ireland operation is part of that strategy.

The wings for the Airbus A220 are made at Bombardier Belfast's plant and it also supplies other Airbus parts, particularly engine covers.

Spirit is also buying a Bombardier factory is Morocco and a repair facility in the US.

Media playback is unsupported on your device Media caption The history of Bombardier in Northern Ireland

Analysis: A strategic purchase for Spirit

The Bombardier workforce in Northern Ireland has suffered years of cuts and uncertainty.

At one point the Canadian firm was on the brink of insolvency.

A new owner for the Belfast operations should bring some stability for the workforce and a long-term focus for the business.

This is a strategic purchase for Spirit - it sees Belfast as a key part of its plan to do more work with Airbus.

The trade unions are happy that the business has gone to a trade buyer rather than a private equity fund.

The deal - in which Spirit is paying $500m and taking on $700m of liabilities, including pension commitments - is expected to close in the first half 2020.

Michael Ryan, Bombardier's chief operating officer of aerostructures, said employees would be updated about how it impacts them in due course.

He added: "We are delighted that Spirit, a global, tier-one aerostructure manufacturer and supplier, has recognised our unique offering and growth potential."

ADS, the UK trade organisation representing the aerospace industry, said: "With the future of the operations assured, the exceptional workforce at the Belfast facility will now be able to continue to use their world-class expertise and skills as an integral part of the aerospace industry

Image copyright Getty Images Image caption Boeing 737 Max 8 fuselages are manufactured by Spirit Aerosystems in Wichita

"We look forward to working closely with Spirit as they continue to grow their UK footprint."

The deal would be strategic for Spirit, an aerospace components maker, as it diversifies its customer base away from Boeing, analysts say.

Chief executive Tom Gentile said the Belfast operation brings "world-class engineering expertise to Spirit".

"Belfast has developed an impressive position in business jet fuselage production, in addition to the world-acclaimed fully integrated A220 composite wing," he said.

"This acquisition is in line with our growth strategy of increasing Airbus content, developing low-cost country footprint, and growing our aftermarket business."

What is Spirit AeroSystems?

One of the world's largest tier-one manufacturers and suppliers of aerostructures

Founded in 2005, as a spin-out of aerospace company Boeing

Employs more than 15,000 people worldwide, with operations in the UK, Malaysia, France and the US

About 12,000 of its workers are based at the company's headquarters in Wichita, Kansas

The move is part of Bombardier's plan to shed its commercial aviation business to focus on its higher-margin business jets and rail divisions.

The Belfast factory will remain a major supplier to Bombardier's business jet programmes.

The company said: "Spirit will continue to supply structural aircraft components and spare parts to support the production and in-service fleet of Bombardier Aviation's Learjet, Challenger and Global families of aircraft."

The deal has been broadly welcomed by politicians and those in the business community.

The Unite union said the sale offered hope for a positive future for Bombardier workers in Northern Ireland, while the GMB union said it would be seeking talks with Spirit's management "to get assurances on jobs, terms and conditions and pensions".

Bombardier, which is based in Montreal, has more than 68,000 employees in 28 countries and the Belfast factory is the largest hi-tech manufacturer in Northern Ireland.

Last year, it reported a lower quarterly profit as it stepped up the production of its Global 7500 business. Spirit posted a 22% drop in quarterly profit, mainly due to charge related to the 787 Dreamliner aircraft.