Independent MP Chris Carter paid tribute to how he and others "broke a glass ceiling" as politicians open about their different sexuality, as he drew the curtain on 15 years as an MP.
The Te Atatu MP, who leaves for a United Nations job in Kabul today, did not take any final shots at Labour leader Phil Goff, who expelled him from the party, in his valedictory speech last night, except to say in general that loyalty had to be earned.
"I will remind those who seek leadership here in Parliament that strong leadership is about strong policies rooted not in opportunism or pandering to the press gallery but in values that reflect your own political philosophy and your own personal ethics.
"Loyalty is a two-way process. It is earned and not an automatic right."
Mr Carter was expelled from Labour last year after sending letters to the press gallery about an impending coup against Phil Goff, who he called a "nice guy" but incapable of leading Labour to victory.
Last night Mr Carter took a swipe at the "nasty and unfair" media stories, and thanked his partner of 38 years Peter Kaiser for sticking by him, despite "media intrusion into our personal lives".
Mr Carter was the first openly gay MP.
"I knew that gay and lesbian teenagers faced huge amounts of prejudice and had few affirming messages or positive role models," he said.
Together with gay MP Tim Barnett and transsexual MP Georgina Beyer, "we broke a glass ceiling".
He was most proud of his electorate work. "I can truthfully say that there is not a house in my electorate, or a letter box or probably even a dog that I don't know personally."
Mr Carter entered Parliament in 1993, but lost the Te Atatu seat in 1996 before regaining it in 1999.
He held several ministerial portfolios, including conservation, ethnic affairs, local government, housing, building issues and education.
"It is time for a change for me but I will always consider that it was an honour and a privilege to have served as a West Auckland representative in this Parliament for 15 years."
Mr Goff said he wished Mr Carter well in his new career.