A Rockingham father has had manslaughter charges against him dropped overnight.
Dylan Clinton O'Meara was accused of breaking his baby's arm then shoving a blanket in his mouth to silence cries of pain in April 2016.
A Supreme Court judge found the police coerced him into providing an explanation through his imaginary friend.
The 22-year-old suffers from split personality disorder.
Once a key piece of evidence was thrown out, the prosecution dropped their case against him in a matter of minutes.
Mr O'Meara was unable to attend the funeral of his seven month old child due to the charges.
While new charges could be laid in the future, Mr O'Meara's legal team said it was unlikely.
Nearly 100 new rentals to be built in Mandurah
Blue swimmer crabs off limits during season closure
Fire crews on scene of Meadow Springs house fire
Perth's southern suburbs declared One Nation's 'heartland' after Secret Harbour by-election victory
Construction contract awarded for Kwinana Freeway upgrade
Port Kennedy humpback whale buried at landfill facility
Secret Harbour by-election: Where to vote on August 29
Mandurah man charged over role in alleged sophisticated cybercrime syndicate
Locals urged to look out for man who removed electronic monitoring device