U.S. officials are investigating after an air traffic controller error sent a jet from Los Angeles International Airport into the flight path of an Air Canada plane while flying low over Southern California mountains.

An EVA Air Boeing 777 that left LAX in heavy rain around 1:20 a.m. PT Friday en route to Taiwan was given an incorrect instruction by a controller based in San Diego to turn left instead of right, KABC-TV reported.

That sent the airliner toward mountains above Altadena, as well as toward the path of Air Canada Flight 788 that had just taken off for Toronto.

Audio traffic indicates that the same controller realized the error and told the airliner to change direction.

The controller told the pilot several times to head south. More than a minute later, she was still trying to get him to comply, according to KABC-TV.

"EVA 015 Heavy, what are you doing? Turn southbound now, southbound now. Stop your climb," the controller said after the pilot apparently did not heed her initial instruction.

Audio then reveals that the controller then told AC 788 to expedite its climb and to go to 12,000 feet.

The EVA crew is then instructed to turn left. After a confused exchange, the controller clarifies that the EVA flight is to turn southbound, and the plane gets onto the right flight path.

The Federal Aviation Administration is investigating, spokesman Ian Gregor said Tuesday.

Gregor said the two planes remained the required distance from each other at all times during the Friday incident. Regulations require aircraft to be at least three miles away laterally or 2,000 feet vertically above obstacles such as mountains.

The controller "took immediate action to keep EVA safely separated from an Air Canada jet" and made sure the EVA aircraft "was safely above or away from nearby terrain."

Gregor said he couldn't comment on the details of the investigation or the parties involved.