Last Updated 7:49 a.m. ET
Senate Finance Committee Chairman Max Baucus was romantically involved with a former staffer when he recommended her earlier this year to become the next U.S. attorney for Montana, a spokesman said.
The Montana Democrat and his former state office director Melodee Hanes began their relationship in the summer of 2008 after Baucus separated from his wife, Ty Matsdorf told The Associated Press late Friday.
Baucus nominated Hanes for the U.S. attorney post in March. But she later withdrew, saying she had been presented with other opportunities she couldn't pass up.
The Senate leader who's been a major proponent of Democratic health care legislation had submitted six names to a third-party reviewer, who whittled those to Hanes and two others. Matsdorf said the senator sent the three names to the White House with no ranking to select a nominee.
Matsdorf said Baucus' relationship with his girlfriend had nothing to do with his decision.
"Senator Baucus recommended each of the three candidates based solely on qualifications, and merit, knowing whichever one the White House selected would serve Montana well," Matsdorf said.
The spokesman said Baucus and Hanes decided during the nomination process that she should withdraw her name because the couple wanted to live together in Washington, which they later did.
Matsdorf declined to say why the senator was just now disclosing the circumstances surrounding the nomination.
Baucus and his ex-wife Wanda announced last April that they planned to divorce after 25 years of marriage, his second. In a joint statement, they said they had "parted ways amicably and with mutual respect."
Hanes started working for Baucus in 2002 and was his state director before leaving his office earlier this year for a position in the U.S. Department of Justice.
"Mel is supremely qualified and she got to her current position based solely on her merit," Matsdorf said.
President Barack Obama eventually nominated Helena attorney Michael Cotter for the U.S. attorney post, which supervises prosecutors of all federal crimes committed in Montana and the state's seven Indian reservations. Cotter is awaiting confirmation.
Word of Hanes' nomination follows other recent disclosures of romantic liaisons by political leaders, including South Carolina Gov. Mark Sanford, Sen. John Ensign, R-Nev., and one-time Democratic presidential hopeful John Edwards.
Sanford faces a possible impeachment following his affair with a woman in Argentina. Ensign, who has acknowledged in June to having an affair with a former member of his campaign staff, has made it clear he intends to serve out his second term. Edwards was forced to drop out of the 2008 election after he had an affair with a videographer on his presidential campaign.
Baucus was elected to the Montana House in 1973 and to the U.S. House in 1974 and 1976. He was elected to the U.S. Senate in 1978 at age 36, and his current term runs until 2014.
The senator has played increasingly visible roles in Congress, sometimes willing to buck his Democratic Party on certain issues. He seems to take the position that the state that sent him to the Senate for five terms is fundamentally conservative and its voters want someone willing to vote outside the party line.
Most recently Baucus has been at the center of an effort to move sweeping health care legislation through the Senate with a bill aimed at meeting Obama's goal of overhauling the nation's health care system to cover 48 million uninsured Americans.
On Friday, Baucus went against his party and backed a Republican effort to eliminate a long-term care insurance program to help seniors and the disabled. Republicans argued that the new plan would be a drain on the federal budget.
The Democrat has also been in the middle of other congressional battles: He played a key role in 2003 legislation adding a prescription-drug benefit to the Medicare program and enactment of President George W. Bush's tax cuts in 2001.