Three Australians were on board a vintage Convair 340 that crashed, killing two people, near Pretoria, South Africa, on Tuesday.

Two of the Australians were 30-year veterans of Qantas airline and had flown as A380 captains with a combined 37,000 hours flying experience.

Qantas confirmed one is current pilot and another a retired Qantas pilot. Both are reported to be in a serious condition.

They were identified in media reports as recently retired A380 captain Ross Kelly and Douglas Heywood, from Sydney. Both men are members of Australia’s Historical Aircraft Restoration Society.

“We were deeply upset to learn that two Qantas pilots, one current and one retired, were on board the vintage aircraft involved in an accident in South Africa on Tuesday. They are currently in hospital being treated for serious injuries,” Qantas said in a statement.

“This news has shocked the Qantas pilot community and everyone’s thoughts are with the families. We’ve reached out and are providing whatever support we can.”

The Australians are among 19 passengers and crew injured when the vintage aircraft, registered ZS-BRV, has crashed during a test flight out of Wonderboom Airport, near the city of Pretoria in South Africa.

Camera Icon Wreckage of the MAC Convair 340.

One crew member, South African Chris Barnard, was killed in the crash and a worker from a factory on the ground has since died.

According to Aviation-Safety.net the aircraft, which has 20 aboard, had been donated by the owner, Rovos Air, to the Dutch aviation theme park Aviodrome.

READ: World’s safest airlines

According to the website “during takeoff from Wonderboom Airport, the aircraft was seen trailing brown smoke from the no.1 engine.”

“Eyewitnesses also reported observing flames. The pilot flew a circuit for an emergency landing back ton runway 29. It went down about 6 km to the east of the airport. The aircraft impacted a shed and broke up. One of the crew members sustained fatal injuries.”

Wreckage of the Convair 340. Credit TwitterIt carried the color scheme of the former Dutch airline Martin’s Air Charter (later renamed Martinair) and was to be ferried to the Netherlands with an expected arrival at Lelystad Airport on July 23, 2018, the website said.

The twin-engine Convair was built in 1954 and was damaged beyond repair.

Local emergency services said on Twitter that one person was critically injured.

“Medics from ER24 and other services are at the scene of a plane crash at Wonderboom in Pretoria,” said a spokesman for ER24.

“We have 19 injured casualties ranging from minor to critical injuries at this stage and no confirmed fatalities.”