After nearly 20 years in federal politics, Justice Minister Peter MacKay will step down this fall to focus on his "young and growing family."

With Prime Minister Stephen Harper at his side in Stellarton, N.S., MacKay announced Friday he will not seek re-election, but will stay on as justice minister and MP for Nova Scotia's Central Nova riding until October. MacKay said he does not have another job lined up, nor has he been approached with an offer.

"My love of this job and all it entails remains strong, but the love for my family is stronger," he said.

In 2012, MacKay married Iranian-Canadian human rights activist Nazanin Afshin-Jam. In 2013, the couple welcomed their first son, Kian, and are expecting their second child, a daughter, this fall.

"The greatest gift of public life, it has been said, is the people that you meet and associate with. And for me, greater still, is the knowledge that it was through this public life that I met and married Nazanin, the love of my life."

Calling it a "bittersweet day," MacKay said, "part of me regrets that I will not be in the fray" of the next federal election but "simply put, I love my family more."

In introducing MacKay, Harper said he had "a mixture of tremendous pride and more than just a little bit of sorrow." He called MacKay an "outstanding public servant," a "great person" and a "historic figure."

MacKay's decision to serve until the writ drops saves Harper from yet another cabinet shuffle to fill a departing minister's gap. But it carves a hole in the Conservative re-election game plan.

Viewed as the unofficial leader of the more centrist, former Progressive Conservative wing of Harper's caucus, his pedigree as the son of a Brian Mulroney confidante and stature as Harper's senior player in Atlantic Canada gave him influence few others have had with the prime minister.

"We'll miss him," Revenue Minister Kerry-Lynne Findlay said on her way into question period Friday. Tory Bob Dechert called him a "modern founder of Confederation" for the way he helped bring the Conservative Party together.

Caucus colleague Paul Calandra was one of several who said he thought MacKay had made the right decision for his young family.

Following Baird's lead?

The leaders of both the NDP and the Liberals wished MacKay well. Justin Trudeau said that as a father of young children himself he understood the decision.

But MacKay emphasized he was stepping down "for entirely personal reasons."

"I'm not jumping ship," MacKay said, adding that he was open to any role supporting Harper and the Conservative Party in the upcoming election.

Life after politics for a politician with his experience and contacts often includes interesting private-sector offers or leadership in high-profile national or international public institutions. MacKay said it would be "disingenuous" to rule out a return to politics at a later date but emphasized, "it's really not in my immediate or long-term plans."

But earlier this spring, MacKay dismissed suggestions that he could follow former cabinet colleague John Baird off the political battlefield and into a lucrative and perhaps more family-friendly second career.

MacKay won his riding with comfortable margins in past elections. The Liberal party confirmed Friday that their candidate in Central Nova, David MacLeod, has resigned "for personal reasons," leaving both parties without a candidate in the now-open seat.

Political roots, controversial shoots

MacKay, 49, was a Crown attorney before he was first elected in 1997. He has held several senior cabinet positions since the Conservatives took power in 2006, including foreign affairs and defence.

MacKay also served as the last leader of the now-defunct Progressive Conservative Party, and was a key player in the negotiations that led to the 2003 merger with the Canadian Alliance that created the current Conservative Party. The merger was seen by some in his former party as a betrayal of a deal he signed with leadership rival David Orchard not to run joint candidates with Harper's party.

Harper described that merger as a "willingness to compromise" as he spoke ahead of MacKay's announcement on Friday.

"That moment in October 2003 changed without a shadow of a doubt the course of Canadian politics," Harper said.

PM Harper lauds 'historic figure' Peter MacKay13:39

His relationship with another leadership rival from his home province, Scott Brison, soured further when Brison left the party to run as a Liberal.

Once voted the "sexiest MP" in a survey by The Hill Times, his personal relationship with another former Tory leadership contender, Belinda Stronach, generated both headlines and gossip fodder when she famously crossed the floor and joined Paul Martin's struggling minority Liberal government in 2005.

MacKay retreated to his father's farm in Nova Scotia and famously quipped that at least the dog he now had for company was loyal, although it was later pointed out that the dog was not his.

"I have been on the receiving end of politics for a long time," MacKay said.

Early in his career, Peter MacKay worked for Thyssen Industries, an arms manufacturer lobbyist Karlheinz Schreiber — a friend of his father's — once represented in a bid to get a light-armoured vehicles plant in Nova Scotia.

He later said he did not know who Schreiber was at the time he took the job, and told reporters he became "leery" and warned his father to steer clear of the Airbus lobbyist.

To encourage thoughtful and respectful conversations, first and last names will appear with each submission to CBC/Radio-Canada's online communities (except in children and youth-oriented communities). Pseudonyms will no longer be permitted.

By submitting a comment, you accept that CBC has the right to reproduce and publish that comment in whole or in part, in any manner CBC chooses. Please note that CBC does not endorse the opinions expressed in comments. Comments on this story are moderated according to our Submission Guidelines. Comments are welcome while open. We reserve the right to close comments at any time.

Note: The CBC does not necessarily endorse any of the views posted. By submitting your comments, you acknowledge that CBC has the right to reproduce, broadcast and publicize those comments or any part thereof in any manner whatsoever. Please note that comments are moderated and published according to our submission guidelines.