Massachusetts Gov. Deval Patrick has fielded calls on hundreds of subjects during his monthly "Ask the Governor" radio show. But this call was one of a kind.

"Uh, Governor, this is Barack Obama, formerly of Somerville," the caller began Thursday. "I've got a few complaints about service in and around the neighborhood, but I've moved down south since that time."

See also: Massachusetts Is the Best State for Entrepreneurs

The president was calling in to WGBH-FM to congratulate Patrick, a friend and political ally, who's wrapping up two terms in office. Obama once lived in the Boston suburb of Somerville, while attending Harvard Law School.

Patrick sounded surprised and initially unconvinced that it really was Obama on the phone, and not an impersonator. He also gently chided the president for a slight stumble in pronouncing the state's name.

"You know, there's a little lisp thing that develops when I say Massachusetts. I know how to spell it, though," Obama joked.

"Indeed you do," Patrick responded. "And you know where it is. You've been a great friend to all of us. Thank you."

It was Patrick's last "Ask the Governor" segment, a once-a-month part of a talk show hosted by Jim Braude and Margery Eagan. The Democrat, who did not seek re-election, leaves office on Jan. 8. His successor is Charlie Baker, a Republican.

Thank you @BarackObama for your special call to #askthegovernor- an absolute honor. — Deval Patrick (@MassGovernor) December 18, 2014

Obama praised Patrick for Massachusetts' success in student achievement, health care access, clean energy and having a balanced budget — though on that final count, the president may not have known that the state currently faces a deficit the governor's office puts at $329 million, but others say could be higher.

"You started with an outstanding state, but you have burnished it and polished it and, most importantly, you have gotten people involved," Obama said.

In response, Patrick said those words meant a lot to him. As Massachusetts' first black governor, Patrick himself has been mentioned as a possible future White House contender, though he has ruled out a bid in 2016.

As the call ended, host Braude poked fun at Obama over past reports of 17 parking tickets he racked up while attending Harvard. The president assured Braude that he had paid them all.

"Otherwise, I wouldn't be able to step into the Commonwealth without getting arrested," he joked.