Two US Navy pilots were rescued after their F/A-18F Super Hornet crashed into the Persian Gulf on Tuesday, officials say.

The aviators, members of Strike Fighter Squadron 211, ejected after taking off from the deck of the USS Theodore Roosevelt, which was sent to the Arabian Sea last month amid tensions and heavy fighting in Yemen.

The aircraft carrier has been assigned to the US 5th Fleet out of Bahrain for an eight-month deployment in support of Operation Inherent Resolve, the name given to the international coalition bombing campaign against Islamic State forces in Iraq and Syria.

Search and rescue teams quickly located and saved the pilots, the 5th Fleet says, adding they were "conscious and alert, and without serious injury."

The details behind the crash -- including whether it was caused by pilot error or aircraft malfunction -- are under investigation.

"We're grateful for the quick work of the search and rescue pilots, and we're grateful that they're on the ship and undergoing medical care, and appear to be doing well," Cmdr. Kevin Stephens told Navy Times.

By Fred Lambert