Commander Sarah West was a headline appointment when she became the first female commander of a frontline warship in the 500-year history of the Royal Navy.
She described taking on the role as the greatest achievement of her career, adding: "I'm looking forward to taking HMS Portland on operations with a professional and focused team."
Earlier this year she said her work commitments made it difficult to have a relationship.
She told the Daily Mirror: "Years at sea probably explains why I'm single. But every person in the military makes sacrifices."
More top news
The full line-up of the BBC's Top Gear programme has been announced.
After teasing fans with several album names it appears the rapper has finally settled on one - but which Pablo is he talking about?
Britain's camp for the Rio Olympics should be moved to a Zika-free location outside Brazil, Jessica Ennis-Hill's coach has said.