A United Kingdom consular worker who was detained in China for 15 days has returned to Hong Kong, according to his family.

Simon Cheng was detained by Chinese authorities after traveling to the mainland Chinese city of Shenzhen, two weeks ago. In a statement Saturday morning, his family confirmed the 28-year-old Hong Konger had returned home.

"Simon has returned to Hong Kong; thanks you everyone for your support!" they said in a Facebook post on a page set up following his disappearance. "Simon and his family wish to have some time to rest and recover ... We will explain more later."

It remains unclear exactly why he was first detained. China's Ministry of Foreign Affairs (MOFA) originally said he would be held for 15 days under administrative detention for violating China's Security Administration Punishment Law, which covers a range of offenses deemed too minor to be crimes.

But on Thursday, China's state-run tabloid Global Times reported that Cheng had been detained for "solicitation of prostitution." The report attributed the information to police in the Luohu district of the Chinese border city of Shenzhen, where Cheng had been traveling on business on August 8 in his role as a trade officer.

Luohu police have declined to comment on the claim. In a statement, Cheng's family said the prostitution allegations were a "joke." In the past, China has been criticized for arresting dissidents and activists on trumped up charges, including sex crimes.

Friends feared that Cheng's detention might in fact have been linked to recent pro-democracy protests in Hong Kong, noting that he had shared pro-democracy images on social media and had voiced support for the city's ongoing protest movement.

His arrest came amid reports that Chinese immigration officials are regularly searching travelers' phones and bags for evidence they have taken part in protests, as they try to cross the border between Hong Kong and mainland China.

However, Cheng's friend Tommy Cheung has told CNN he did not see his friend at the actual protests, and said Cheng's detention exemplified why Hong Kongers first began protesting the now-suspended bill that would have allowed extradition of suspected criminals to China.

"And it is justifying why people worry about the rule of law in China," he said. "Because they have no rule of law in mainland China."