Original: The first officer is second-in-command of the aircraft, to the captain who is the legal commander.
Simplified: The first officer is second-in-command of the aircraft, to the Captain who is the legal commander.