On December 13, 2021, President Joe Biden nominated Raven to be the next undersecretary of the Navy. Hearings were held by the Senate Armed Services Committee on his nomination on March 22, 2022. His nomination was favorably reported by the committee on April 5, 2022. Raven was officially confirmed by the entire Senate via voice vote on April 7, 2022. He was sworn in on April 13, 2022. He resigned in August 2024.