Legally, midshipmen are a special grade of officer that ranks above the most senior enlisted grades (E-9) and below the lowest grade of chief warrant officer (W-2) in the Navy and Coast Guard (the Navy and Coast Guard discontinued the rank of warrant officer, WO-1, in 1975). Additionally, midshipmen rank below warrant officer (W-1) in the Marine Corps and the Army, and below second lieutenant (O-1) in the Air Force (the Air Force ceased appointing warrant officers in 1959 and the last USAF WO died in 2008).