Dramatic footage has emerged showing the moment a pilot lost control of a plane and crashed at a Toronto-area airport last week.

The video, taken from a camera in the plane, shows a student pilot struggling to control a Cessna after landing at Buttonville Airport in Markham, Ont. on Aug. 24.

The plane veers to the left after landing and the pilot tries to get the plane airborne again but instead goes off the runway, over grass and into an airport hangar. 

Officials said the plane was completely destroyed and the hangar sustained major damage. 

The student pilot, who has not been identified, was taken to hospital but was not seriously injured. 

The Transport Safety Board is still investigating.

Crews remain on scene at Buttonville airport after a small plane with one occupant was involved in an incident.

The plane crashed into a hanger on the north end of airport property.

The pilot has been transported to hospital with serious but not life threatening injuries. pic.twitter.com/LkpyqLpINn

— Markham Fire (MFES) (@MarkhamFire) August 24, 2020