An FA-18 Hornet like this one crashed today in the Southern California desert on November, 9. The pilot ejected safely.
CNN  — 

Two US Marine jets collided midair over water near San Diego on Wednesday shortly before noon.

One pilot ejected from the aircraft while the other landed safely at a nearby air station, according to the Marine Corps Air Station based in Miramar, California. The two pilots are in stable condition, according to a statement from the Marine Corps.

Both aircraft, described as single-seat, F/A-18 Hornets, were on a training mission and are based at the Miramar station, just north of San Diego.

The pilot who ejected from the jet was rescued at 12:41 p.m., about 30 minutes after rescue teams received a distress signal, according to the Marine Corps. A search-and-rescue team from the aircraft carrier USS Carl Vinson rescued the pilot.

The other pilot landed at Naval Air Station North Island, which is just south of San Diego.

The cause of the crash is under investigation.

In July, a Marine pilot who had also been based at Miramar was killed when his F/A-18C Hornet crashed during training.

CNN’s Barbara Starr contributed to this report.