SAN DIEGO (AP) — The Navy commander of the USS Pearl Harbor has been relieved of duty after the ship ran aground in the Persian Gulf, officials said Monday.

Cmdr. Xavier F. Valverde was relieved of command over the weekend following a preliminary inquiry into the grounding of the ship, according to a statement released by Naval Surface Forces.

Rear Adm. Kendall Card of the Navy's Expeditionary Strike Group Three said he lost confidence in Valverde's ability to command.

The ship suffered what Navy officials called a "soft grounding" off the coast of Kuwait on July 21.

"The ship was able to back off the suspected shoal under her own power," said David Hostetler, deputy public affairs officer for Naval Surface Forces in San Diego.

There were no injuries or damage reported to the ship, which is used to transport amphibious vehicles and their crews to and from shore.