British businessman Shrien Dewani has been cleared of murdering his wife during their South Africa honeymoon, after the judge threw out the case.
Judge Jeanette Traverso said the evidence presented by the prosecution fell "far below the threshold" of what a reasonable court could convict on.
She said the evidence of the prosecution's main witness was "riddled with contradictions".
Anni's family said they had been failed by the justice system.
Announcing her ruling, the judge said the only reason not to grant the application would be in the hope that Mr Dewani would implicate himself if he gave evidence.
But to do so would be a "manifest misdirection", she said.
Mr Dewani, from Bristol, was extradited to South Africa this year to face trial accused of planning the murder of his wife in November 2010.
He listened intently as key evidence against him was criticised by the judge as she gave her ruling over almost three hours.
Mr Dewani, 34, went straight down to the cells to prepare for his release, following the decision, as his family embraced.
It is believed he left the court, without making a comment, through a side entrance.
Mrs Dewani's family, who had said it would it be a "nightmare" if the trial did not continue, immediately left the court room.
They bowed their heads amid shouting from the public gallery.
Speaking outside the Western Cape high Court, Mrs Dewani's sister Ami Denborg said: "Today we feel as a family that the justice system has failed us and we are deeply disappointed.
"We came here looking for answers and we came here looking for the truth and all we got was more questions.
"We waited patiently for four years to hear what really happened to Anni and to hear the full story of what happened to our dearest little sister.
"Unfortunately we believe that this right has now been taken away from us."
Her uncle, Ashok Hindocha said the family would be going through the case with their lawyers to confirm whether they can file a lawsuit against Mr Dewani in the UK.
"We would have preferred to have known about his sexuality before he married our precious Anni," he said.
"She gave herself to him, mind, body and soul and she hoped to have been cherished and loved. But she would not have married him if she had known about his secret sex life with male prostitutes and the activities he engaged in."
The judge ruled it was not necessary for Mr Dewani to give evidence, saying a defendant was entitled to be discharged if there was no possibility of conviction unless he entered the witness box and incriminated himself.
The judge said the evidence from the three criminals already convicted over Mrs Dewani's murder was "so improbable, with so many mistakes, lies and inconsistencies you cannot see where the lies ended and the truth begins".
Dewani, 34, has always denied plotting with others to murder his bride, who was found shot dead in the back of their taxi after the couple were hijacked during a late-night tour of a township.
Prosecutors said bisexual Mr Dewani had long planned to get out of the relationship to Swedish-raised Anni, and arranged the attack in which he would escape unharmed and Anni would be killed.
Judge Traverso said it was crucial for the state's case to prove that Mr Dewani entered into an agreement with others to have Anni killed.
Tongo was the only accomplice witness, she said, adding that such evidence should be treated with "caution".
Tongo's version needed to be corroborated specifically where it implicated the accused, she said.
Details such as where he picked up and dropped off Mr Dewani and his wife did not provide corroboration, the judge said.
It is what was said during these events which is at issue and for that there is only the version of Tongo, she added.
She said the same applied to phone calls between Tongo and Mr Dewani.
"This telephone communication does not in itself corroborate what was said during those calls, it merely confirms that communication took place."
The prosecution had alleged the men carried out the killing for Mr Dewani for 15,000 rand (about £830).
The judge said Tongo and accomplices Mziwamadoda Qwabe and Xolile Mngeni were "intelligent men" and dismissed the prosecution claim that they would have carried out a contract killing for Mr Dewani for "a few thousand rand".
"All we wanted was to hear all the events and the hope of actually finding that out has kept us, as a family, going.
Latest Stories
-
GNAT bares teeth at OSP, CAGD over ‘ghost names’ investigation
46 seconds -
Fred Smith: The Day I met a Horny Gay!
4 mins -
India’s High Commissioner to Ghana engages with Volta GJA members to strengthen bilateral ties and business opportunities
19 mins -
Re: Government could not account for the Initial $200m GARID Project’s World Bank Credit Facility – Minority Members of Parliament
32 mins -
Bryan Acheampong winning SSNIT hotels bid amounts to conflict of interest – Azeem
36 mins -
I am music and music is me – Eno Barony
41 mins -
CK Akonnor appointed CAF technical advisor for youth players development
1 hour -
Government payroll sees GH¢34m savings as OSP and CAGD collaborate to remove ‘ghost names’
1 hour -
Big Chef Season 3: Six finalists re-enact traditional kitchen, cooking styles
2 hours -
BoG grants Zeepay approval for outbound money transfer
2 hours -
Martin Amidu feeding into Akufo-Addo’s grand scheme to remove OSP – Sammy Gyamfi
2 hours -
COCOBOD ends scholarship scheme due to Free SHS programme
2 hours -
We’ll revert to you soon – CHRAJ to Ablakwa over sale of SSNIT hotels to Bryan Acheampong
2 hours -
Atsiame Chiefs call for peaceful co-existence among traditional areas in Anlo State
3 hours -
Work progresses on the 33Kv transmission line upgrade project in Kumasi
3 hours