The US Navy

The two officers in charge of the destroyer USS John S. McCain have been relieved of duty after a deadly accident earlier this year, the US Navy said in a statement Tuesday.

The guided-missile destroyer collided with a merchant ship off Singapore on August 21, leaving 10 US sailors dead and five more injured. The accident left a large highly visible hole in the US ship. The McCain's commanding officer, Cmdr. Alfredo J. Sanchez, and executive officer, Cmdr. Jessie L. Sanchez, were "relieved due to a loss of confidence," according to statement from the US 7th Fleet in Yokosuka, Japan, the ship's home port.