In aviation, the first officer, also called co-pilot, is a pilot in addition to the captain, who is the legal commander. In the event of incapacitation of the captain, the first officer will assume command of the aircraft. From Wikipedia
A newly released report details how a neurological condition caused a co-pilot to collapse mid-flight, prompting calls for stricter cockpit staffing rules.