U.S. regulators have allowed a Canadian company to restart its Keystone oil pipeline after completing repairs and safety tests.

Oil from the 1,300-mile pipeline that extends from Canada to Oklahoma and Illinois could begin flowing as soon as Sunday under a revised order from the U.S. Pipeline and Hazardous Materials Safety Administration.


Get the information you need fast. Sign up for our Breaking News alerts today.

The agency approved the revision on Saturday.

The pipeline has been closed since May 29, when workers reported a 10-barrel leak in Kansas.  That followed a leak of 400 barrels of oil in North Dakota on May 7.

The pipeline is owned by Calgary-based TransCanada Corp.

The Associated Press contributed to this report.