Over the past decade, both Fannie and Freddie made the list of Washington's top 20 lobbying spenders.
They spent a combined $170 million to cultivate allies during that period, a bit less than the American Medical Association and a bit more than General Electric (GE is the parent company of CNBC).
At the same time, their executives have consistently led the mortgage-banking sector in campaign giving to members of Congress, contributing a combined $16.2 million since 1997.
People who have lobbied on their behalf have played or are playing roles in the presidential campaigns of both Republican John McCain and Democrat Barack Obama.
Defenders, including President Bush and Treasury Secretary Henry Paulson, say the nation's two major mortgage companies -- which own or guarantee roughly half of the nation's $12 trillion in outstanding mortgage debt -- are more vital than ever to the smooth functioning of the nation's jittery financial markets.
The two companies were set up by federal law as "government-sponsored enterprises" that operate as private companies with profits and stockholders.
Critics say they have used their clout and unusual status to create a sort of regulation-free zone around their businesses.
When times are good, shareholders and executives of the companies are richly rewarded.
When times are bad, as now, taxpayers could be left holding the bag.
"Congress created this problem by creating special rules at Fannie Mae and Freddie Mac and ignored the problem for years," said Sen. Jim DeMint, R-S.C., a sharp critic of what he sees as a looming federal bailout.
Fannie Mae -- the Federal National Mortgage Association -- was established in the 1930s to encourage homeownership by buying mortgages from banks.
That freed cash for the banks so they could make new loans.
Fannie and Freddie Mac (Federal Home Loan Mortgage Corp.), created later but with basically the same mission, hold some of the mortgages in their own portfolio and package the rest as bonds and other securities, which they sell.
Neither one makes loans on its own, and they were not directly involved in the subprime mortgage fiasco.
But the housing downturn is so steep that they have been seeing increasing delinquencies on their conventional mortgages and have been exposed to investor flight from financial assets.
Furthermore, because of their special status, they can keep smaller capital reserves on hand than other financial institutions.
They need to raise cash to stay afloat.
Long Time Lobbiers
Fannie and Freddie have long been distinguished by their outsized influence.
They spend heavily on lobbying and hire liberally from Capitol Hill's revolving door and their executives give top dollar to political campaigns.
They've also funneled contributions into select charities and think tanks.
"They have always understood that the political risk was huge for them, and they put millions of dollars into using contributions, jobs and consulting contracts to stay in the good graces of people in power," says Wright Andrews, a veteran banking lobbyist.
"They had both parties -- and particularly the Democrats -- under incredible control."
To help keep themselves free from unwanted regulatory and congressional prying, the two mortgage giants have surrounded themselves with scores of well-connected allies.
Fannie Mae's 51-member lobbying stable, according to its most recent disclosure, includes former Reps. Tom Downey, D-N.Y., and Ray McGrath, R-N.Y.; Steve Elmendorf, a Democratic political strategist and former congressional aide; and Donald Fierce, a longtime GOP operative.
Freddie Mac's list of 91 lobbyists includes former Reps. Vin Weber, R-Minn., and Susan Molinari, R-N.Y.
At times, the push for influence has gone over the ethical line.
In 2006 Freddie Mac paid a $3.8 million civil penalty to the Federal Election Commission to settle charges that it had used corporate resources to stage 85 fundraising dinners that raised $1.7 million for candidates for federal office.
In internal documents, Freddie Mac described the events as an exercise in "political risk management."
The fine still stands as the largest in the FEC's 33-year history.
This past April, former Fannie Mae chief Franklin Raines and two top executives agreed to a $31.4 million settlement with the government over their roles in a 2004 accounting scandal.
Raines, the company's former chief financial officer, Timothy Howard, and former controller Leanne Spencer were accused in a civil lawsuit of manipulating earnings over a six-year period at Fannie.
Raines was appointed by Clinton, after serving as White House budget director under Clinton.