A woman who said she submerged a young boy in the sea to expel a demon from his body has been sent to a secure hospital.
On Tuesday, Claire Winslade, 32, from Bournemouth, was found not guilty of attempted murder at Winchester Crown Court by reason of insanity.
The court heard the boy was saved by the intervention of joggers on Southbourne Beach on 9 January.
Ms Winslade, of Seabourne Road, has now been detained indefinitely.
During the trial Rob Welling, prosecuting, said the defendant had a history of mental illness which deteriorated following the death of her father in November 2014.
He said Ms Winslade held the child facedown under the water as she went to scatter her father's ashes in the sea.
Ms Winslade told doctors that she had tried to drown the boy, who cannot be named for legal reasons, "because she believed he had a demon in him, [and] by doing so he would be returned alive with her father", Mr Welling added.
"At the beach she walked [the boy] into the sea up to knee or waist level then she held his head under the water.
"Had it not been for three passing joggers and a dog walker, [the boy] might have drowned that morning."
An eyewitness described how the boy said to Ms Winslade afterwards: "Why did you push me over?"
The judge, Mr Justice Dingemans, made a Section 37 order, committing Ms Winslade to a secure hospital for treatment.