Foley, now in rehabilitation, is accused of sending improper e-mails to teenage male pages, among other things.
State Rep. Joe Negron took his place in the campaign, but not on the ballot -- as state law required that Foley's name remain on the ballot.
The state GOP started a campaign to let the public know that a vote for Foley was really a vote for Negron.
The National Republican Congressional Committee poured about $2 million into Negron's campaign, and Gov. Jeb Bush campaigned at his side, but Negron still lost to Mahoney in a very close race.
Negron conceded Tuesday night.