Pompey have completed the signing of Marlon Pack on a two-year deal.
The 31-year-old Portsmouth-born midfielder has returned to the club where he began his professional career.
After progressing through the academy, he made two senior appearances in 2010 before departing for Cheltenham.
Pack has since played Championship football for Bristol City and Cardiff, departing the latter club at the end of last season.
Blues boss Danny Cowley said: “It’s one that we’ve been working hard on ever since we knew that he was available.
“We were aware of his ties with the club, but didn’t quite realise just how much it and the city meant to him.
“The families of Marlon and his wife live in Portsmouth and so we were able to pull on his heartstrings to make it happen!
“He’s had offers from other clubs this summer, but he started his career here and it would be brilliant for him to end it here and close the circle.
“We moan a lot when news about transfers gets out, but when this got into the papers, then a lot of people Marlon is close to were leaning on him!
"We were aware of his ties with the club, but didn’t quite realise just how much it and the city meant to him."
“There aren’t many contracts I’ve done where a player has asked for tickets as part of the deal and that says a lot about the number of Pompey fans among his family and friends.
“Marlon ticks so many boxes for us. He’s a ball handler and has a fantastic range of passing, while he’s very good in the defensive transition.
“His positional play is excellent and there’s so much to his game, but we’re also excited by the leadership he’ll provide off the pitch.
“We’re working hard to connect this group with the people of Portsmouth and there’s no better way than to sign someone who knows the area and what it takes to be successful.
“It’s really important for us to bring in the right players and the qualities our fans are looking for can be found in Marlon.”
Pack spent time on loan with Wycombe, Dagenham & Redbridge and Cheltenham during his first spell at Fratton Park.
His senior appearances for the Blues came in a League Cup tie with Crystal Palace and a Championship clash with Cardiff.
Pack moved to Whaddon Road on a permanent basis in 2011 and twice helped the Robins reach the League Two play-offs, being named in the PFA Team of the Year on both occasions.
He then signed for Bristol City and was a regular member of the side that secured both the League One title and the EFL Trophy in 2014/15.
Pack continued to impress in the Championship and made a total of 282 appearances for the club, then went on to feature more than 100 times in three seasons with Cardiff.