I think a First Officer is the Second-in-Command. Based on Star Trek (2009), when Pike made Kirk First Officer and Spock Captain. Then Spock backed down and Kirk got to replace him, solely because he was First Officer.