Gannon took charge at Peterborough following the sacking of Mark Cooper
Peterborough United manager Jim Gannon has revealed that he is to leave London Road at the end of the season.
Gannon, who took charge of Posh on a short-term deal in February, had agreed a longer contract, but was unsure about relocating his family from Stockport.
"I am not driven by financial gain or a mechanical professional drive," he told the club's website.
"I always promised myself that I would strike a balance in my professional and personal life."
The former Stockport County and Motherwell boss arrived at London Road following the sacking of Mark Cooper, who was dismissed after just 13 games at the helm with Posh languishing at the bottom of the Championship.
But Gannon has been unable to turn United's fortunes around and they remain rooted to the foot of the table, 10 points from safety with just seven games left.
Despite their impending relegation, Peterborough were keen to retain Gannon's services for next season and the 41-year-old was happy with the terms he had been offered to extend his stay with Posh.
Prior to Tuesday night's 4-0 defeat at Scunthorpe, he told BBC Look East: "I had a second opportunity to sit down with the family this weekend and reflect.
"You have to sleep on things and chat them over and it's a very difficult decision either way."
But Gannon has now decided that his future lies away from London Road.
"Given that my partner is pregnant and expecting our second baby in July, the need for stability, security and happiness becomes increasingly important to me," he said.
"I have become a devoted family man over the last few years and the separation from my family over the last season has created a big void in my happiness and contentment.
"I still have an important job to do for the remainder of the season in showing that the players and club are much more capable than previously shown.
"There is valuable work to be done over the coming months and we want to gain, collect and learn from these experiences to ensure the successful return to Championship football for Peterborough United."
Posh began the season under Darren Ferguson, who had led them to successive promotions from League Two through to the Championship.
Planning for the new season is obviously a major priority and we will work hard to find the right appointment
But his exit in November, followed by the short tenures of both Cooper and Gannon, leaves Posh now looking for their fourth manager in less than a year.
"Planning for the new season is obviously a major priority," said chairman Darragh McAnthony. "We will work hard to find the right appointment.
"Whilst I am obviously disappointed with the decision, I have to say that Jim's brief tenure has shown what can be achieved in a relatively short period of time.
"I completely understand and respect his reasoning and obviously wish him and his family all the best in his home and professional life."
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.