Two Australian news outlets have removed their reporters from China referring "diplomatic standoff."
Relations between Australia and China have deteriorated in recent years, reports BBC.
The Australian Broadcasting Corporation's Bill Birtles and the Australian Financial Review's Mike Smith landed in Sydney on Tuesday.
Chinese authorities questioned both men before their departure. The ABC reported Birtles was "not asked about his reporting or conduct in China".
The AFR reported that Chinese authorities had questioned the journalists about Cheng Lei, an Australian journalist for Chinese state media who has been detained since last month.
Australian Foreign Minister Marise Payne said consular officials had provided support to the journalists.
"Our embassy in Beijing and consulate-general in Shanghai engaged with Chinese government authorities to ensure their wellbeing and return to Australia," she said in a statement on Tuesday.
What is known?
The ABC reported that Australian diplomats advised Birtles and ABC management last week that he should leave China. He was then booked on a flight due to leave Beijing last Thursday.
But the situation escalated last Wednesday at midnight when seven Chinese police officers visited the reporter's apartment as he held farewell drinks with friends, the ABC reported.
The officers told Birtles he could not leave the country and would later be questioned over a "national security case", the report said.
He immediately contacted Australian consular officials, who collected him and took him to the Australian embassy, where he spent the next four days.
During that time, he was interviewed by Chinese police in the presence of Australia's ambassador to China, Graham Fletcher.
Smith, who is based in Shanghai, also received a visit by police - prompting him to go to the Australian consulate there. Both men were questioned over Ms Lei, the AFR reported.
They were allowed to leave the country in exchange for agreeing to be interviewed by police.
What's been the reaction?
"It's very disappointing to have to leave under those circumstances," Birtles said in Sydney.
"It's a relief to be back in the country with genuine rule of law. But this was a whirlwind and it's not a particularly good experience."
The AFR's editors, Michael Stutchbury and Paul Bailey, said they were glad both journalists were safe.
"This incident targeting two journalists, who were going about their normal reporting duties, is both regrettable and disturbing and is not in the interests of a co-operative relationship between Australia and China," they said in a joint statement.
Bill Birtles and Mike Smith were the last two correspondents for Australian media working in China. Their evacuation means for the first time since the mid-1970s there are no accredited Australian journalists in the country.
China is not only Australia's key trading partner and the biggest customer for its coal and iron ore, but it's also one of its most important stories to cover. As tensions rise between Beijing and Canberra, the need for journalists on the ground in China becomes ever more crucial.
The ABC's news director, Gaven Morris, said: "The story of China, its relationship with Australia and its role in our region and in the world is one of great importance for all Australians and we want to continue having our people on the ground to cover it."
But as both countries continue to exchange political and diplomatic jabs - and with China's broader crackdown on Western journalists - it's hard to see when Australian reporters will be allowed back.
This development is not only a critical marker in the relationship between the two countries, it will no doubt affect Australian media coverage of this important story.