The House has passed legislation to extend provisions of a half-century-old program that helps workers hurt by foreign trade with retraining and financial aid.

The extension of expired provisions of the Trade Adjustment Assistance program was demanded by the Obama administration as a condition for submitting three free trade agreements to Congress. The vote on the worker aid bill came after the House approved the trade agreements with South Korea, Colombia and Panama.

The Senate already has passed the bill, which includes a program allowing duty-free entry for goods from developing countries, and it now goes to President Barack Obama for his signature.

Those qualifying for the worker aid program can get financial support to retrain for new jobs and subsidies so they can get health insurance.