James Parkes joined the force in May
A trainee policeman left fighting for his life after a homophobic attack in Liverpool city centre has been allowed to leave hospital.
James Parkes, 22, was off duty when he was attacked by up to 20 youths as he left Superstar Boudoir in Stanley Street with his partner on Sunday.
He suffered multiple skull fractures but after 36 hours was able talk and has since left hospital, police said.
Twelve boys have been arrested and bailed over the attack.
Merseyside Police said Mr Parkes was discharged on Friday and is recovering at home.
His partner, Tom Downey, expressed his praise for people who have extended their support since the attack.
"We have been amazed at the amount of support and best wishes that Jay and our families have received.
"We are pleased to see people are as outraged by this attack as we are."
Mr Parkes, a former community support officer, joined Merseyside Police as a trainee officer in May.
He also suffered fractures to his cheekbone and eye socket.
Hundreds of people are expected to gather for a candlelit vigil at the scene of the attack on Sunday night.
Mr Downey added: "The candlelit vigil is a great opportunity for everyone to come together and stand against this horrible type of homophobic attack."
He called for anyone who had information about his partner's attack to speak to detectives.