 Ehrensvärd was captain of the from 1932 to 1933 and flag captain in the staff of the Chief of the Coastal Fleet from 1933 to 1936.He was Chief of the Naval Staff from 1937 to 1939 and was promoted to rear admiral in 1938.Ehrensvärd was Chief of the Coastal Fleet from 1939 to 1942 and commanding admiral of the South Coast Navy District from 1942 to 1950 when he was promoted to vice admiral.