The United States and Europe are closing in on a deal to end a 17-year-old dispute over aircraft subsidies and end tariffs, while seeking an elusive consensus on how to address competition from China, people familiar with the matter said on Monday.

A deal would lift the threat of a renewed trade war between the two sides that has already spilled over to industries from farming to luxury goods and tarnished transatlantic relations.

Talks are converging toward a pair of separate but broadly aligned treaties — one between the United States and European Union, the original parties — and another between Washington and London following Britain's exit from the EU, the people said.