The pilot and passenger aboard a small plane escaped injury after making an emergency landing in a cornfield in Lebanon County on Thursday.

The single-engine plane had an engine malfunction and lost power shortly after taking off from Deck Airport around 6:30 p.m., fire officials said.

The pilot attempted to glide the plane back to the runway, but had to make an emergency landing in the Jackson Township cornfield instead, officials said.

The 51-year-old pilot and his 52-year-old female passenger were shaken up, but not hurt. Their names were not released.