Updated

Two U.S. Marines were killed and two severely injured in the crash of a hybrid aircraft, known as an MV-22 Osprey, in Morocco on Wednesday, officials said.

The Osprey crashed in a military training area southwest of Agadir, Morocco, after taking off from aboard the amphibious assault ship USS Iwo Jima, said Capt. Kevin Schultz, a Marine spokesman at the Pentagon in Washington.

Schultz said the Osprey, which takes off and lands like a helicopter and flies like an airplane, was participating in a U.S.-Moroccan military exercise known as "African Lion."

The 10-day exercise was set to end April 17 and involves 1,000 U.S. Marines and 200 soldiers, sailors and airmen. They were working with some 900 Moroccan soldiers.

According to the U.S. Marine website, the exercise involved "everything from combined arms fire and maneuver ranges, aerial refueling and deliveries of supplies, to command post and nonlethal weapons training."

The main unit involved in the exercise is the 14th Marines, a reserve artillery regiment based in Fort Worth, Texas, but also includes members of the 24th Marine Expeditionary Unit based in Camp Lejeune, North Caroline.

The goal of the exercise is to train the two countries' forces to work together.

Further information about the crash was being withheld until the next of kin of the killed and injured Marines were notified, said Rodney Ford, spokesman of the U.S. Embassy in Rabat.