Newly elected Mike Kane, during his maiden speech as MP for Wythenshawe and Sale East, showed off his barbed wit as he thanked the Prime Minister for helping him get the publicity to ensure one of Labour's highest-ever vote shares in the history of the constituency.
Mr Cameron and Labour leader Ed Miliband had clashed over his candidacy at Prime Minister's Questions, with the PM making fun of Mr Kane for supporting the Opposition leader's brother David in Labour's September 2010 leadership election.
Mr Kane was elected with a comfortable majority of 8960 in a by-election triggered by the death of Labour's Paul Goggins, who had represented constituents since 1997.
Mr Kane joked that he had the PM to thank.
He told the Commons: "As only the fourth elected member for the Wythenshawe and Sale East constituency, I must from the outset acknowledge the role played by the Prime Minister in my success. In a rather heated exchange at Prime Minister's Questions before the by-election, he and Mr Miliband clashed over my candidature in the election.
"I want to place on record my thanks to the Prime Minister for the ensuing publicity in Manchester, helping Labour secure one of the highest-ever shares of the vote in the history of the constituency."