The General Counsel of the Department of the Navy is the senior civilian lawyer in the U.S. Department of the Navy and is the senior legal adviser to the Secretary of the Navy. The Office of the General Counsel of the Navy provides legal advice to the Secretary, the Under Secretary of the Navy and the various Assistant Secretaries of the Navy and their staffs. The General Counsel of the Navy is the third highest-ranking civilian office in the Department of the Navy, behind the Secretary and Under Secretary of the Navy.