A small Pakistani military plane has crashed into a residential area near the garrison city of Rawalpindi, killing at least 17 people, most of them on the ground.

Fires, damaged homes and debris were visible in Mora Kalu village on the outskirts of Rawalpindi after daybreak.

Troops and police cordoned off the residential area to search for plane debris and investigative evidence after the rescue efforts had ended.

Read more:  Nine dead after aircraft crashes in Hawaii

Five soldiers, including two army pilotsNine, and at least 12 civilians were killed, the military said in a statement.

Pakistan Plane CrashPakistan army officials examine the site of a plane crash in Rawalpindi (Anjum Naveed/AP)

Farooq Butt, an official at the state-run emergency service, said an additional 15 people were injured.

Rescue officials said the death toll could rise since some of those injured were critical.

“We have shifted all the bodies and injured persons to hospitals,” he told The Associated Press.

Read moreNew safety fears over troubled Boeing 737 Max

“Most of the victims received burn injuries and children are among the dead.”

Pakistan Plane CrashThe small Pakistani military plane crashed into a residential area, officials said (Anjum Naveed/AP)

Residents say they woke up when they heard an explosion and saw debris of a burning plane near their homes. Army helicopters were seen hovering over the crash site later.

“My sister, her husband and their three children were killed when the plane crashed into their home,” said Mohammad Mustafa.

He said rescuers and troops quickly reached the area after the crash.

Read moreMH17: Four charged in Netherlands over shooting down of plane over Ukraine

Abdul Rehman, a medical doctor, said at least three homes were badly damaged and the pilots’ bodies had been retrieved.

The military said the army aircraft was on a routine training flight when it crashed, but had no information on the possible cause.