A student pilot successfully landed a small aircraft alone on Tuesday after their flight instructor died mid-flight, officials said. The incident occurred during a lesson over the skies of Florida.

According to a school official, the instructor's family reported that he had seen a psychiatrist in the week prior to the incident. Further details surrounding the instructor's death and the circumstances of the mid-flight event have not been released.

The student, who has not been publicly identified, was able to navigate the aircraft to a safe landing, averting a potential tragedy. The Federal Aviation Administration (FAA) is expected to investigate the incident.

ABC News has reported on the event, citing school officials and the instructor's family.