The Los Angeles-class attack submarine USS Newport News (SSN 750) departs Naval Station Norfolk in this Navy file photo from 2011..

The Los Angeles-class attack submarine USS Newport News (SSN 750) departs Naval Station Norfolk in this Navy file photo from 2011.. (MC2 Danna M. Morris / / August 15, 2014)

The commanding officer of the Norfolk-based submarine USS Newport News has been relieved of duty, the Navy said Friday.

Cmdr. Christopher Tarsa was relieved "due to a loss of confidence in his ability to serve effectively as commanding officer," according to a news release.

Tarsa was removed from duty by Capt. Paul Snodgrass, the commander of Submarine Squadron 6 at Naval Station Norfolk.

Cmdr. Roger Meyer, deputy commander at Submarine Squadron 6, will be in command  until a permanent replacement is named. Meyer previously commanded the submarine USS Miami.