Cleo Smith vanished from her tent at a remote western Australian campsite more than two weeks ago. The only clues to her disappearance: witness reports of screeching car tires in the dead of night, and the tent’s zipper — left open at a point too high for the 4-year-old to reach.

Police and volunteers scoured the rugged coastline, interviewed campers and combed thousands of images and surveillance videos. A reward of 1 million Australian dollars (about $745,000) was offered for information that could lead to her safe return.

But authorities feared the worst: Australia’s vast outback is full of remote trails from which it is easy to evade the outside world.

Early on Wednesday, they found her — alone in a locked room in a house in Carnarvon, just seven minutes from where she lived with her mother, stepfather and baby sister. A 36-year-old man was apprehended at a nearby property and is being questioned by police. He is expected to be charged on Thursday after being admitted to hospital briefly because of self-inflicted injuries while in custody.

“We were literally looking for a needle in a haystack, and we found it,” acting police commissioner Col Blanch told local station Perth radio 6PR on Wednesday. “When she said, ‘My name is Cleo,’ I don’t think there was a dry eye in the house,” he added.

Police on Thursday released the audio of the moment officers entered the room where she was allegedly being held, asking her name to confirm what they had hoped would be true.

Ellie Smith, Cleo’s mother, posted the news on Instagram, saying: “Our family is whole again.”

The little girl’s disappearance had gripped the nation. Family camping trips are routine in Australia, and abductions are extremely rare.

A 4-year-old girl who went missing from an Australian outback campsite more than two weeks ago has been found “alive and well,” authorities said on Nov. 3. (Reuters)

During the 18-day search, comparisons were drawn to other missing child cases — including 9-week-old Azaria Chamberlain, who vanished while her family was camping in the Australian outback in 1980. Her mother was found guilty of her murder and sentenced to life in prison, only to be released when new evidence surfaced that absolved her. A coroner later ruled Azaria had been snatched and killed by a dingo. Her disappearance was made into a 1988 film “A Cry in the Dark,” starring Meryl Streep.

“It often is a tragic outcome, but this is great news and uplifting for the entire country, especially for those who put their life and soul into finding Cleo,” Western Australia Premier Mark McGowan said. “I was talking to the [police] earlier, and I said there’d be movies made about this.”

The premier visited Cleo on Thursday, giving her two teddy bears named after the officers who rescued her in the early hours of Wednesday morning.

Forensic experts expressed surprise that Cleo was found alive — a rare outcome in such cases.

The case drew massive media interest and galvanized sleuths across the Internet, in a localized version of what occurred following the recent disappearance of Gabby Petito in the United States. Wild theories circulated on social media, and Cleo’s mother and stepfather were openly attacked.

Police said on Wednesday that there was no family connection to the man they arrested. They believe she was snatched from the campsite in an “opportunistic” crime. Crucial to her rescue was evidence police received about an unknown vehicle at the campsite at the time of her disappearance, authorities said.

“Internet detectives jump to conclusions but our detectives, the real detectives, can’t afford to do that,” Blanch, the acting police commissioner, said to Perth radio 6PR.

Read more: