The court heard Murphy, who is a mother and grandmother, and Hinds, who is a former miner, had been a couple for seven years and had had to endure a campaign of vigilante action against them.
The judge was told that masked raiders had broken into Hinds's house, bludgeoned him across the head and stabbed him in the ribs.
Murphy was also stabbed, her barrister told the court, and the pair had to flee from Doncaster to Spain.
Earlier, Iain Hillis, defending Hinds, said his client had worked at the centre since 1997 and said he had always tried to protect more vulnerable staff members from more violent patients. He said Hinds had spent years caring for his patients.
"He was working under very difficult circumstances," Mr Hillis said.
More top news
It'll become increasing cloudy tonight, with outbreaks of rain in the northwest
Six months on from the referendum, Political Editor Robert Peston takes a road trip to find out what people feel about Brexit now.
Donald Trump has been criticised for appointing a man who once sued the Environmental Protection Agency to be its new boss.