Two former aides to Gov. Chris Christie were sentenced to prison Wednesday for their role in a political revenge plot involving traffic jams at the country's busiest bridge, a scandal that sank the Republican's presidential aspirations.

Bridget Kelly, 44, was sentenced to 18 months and Bill Baroni, 45, was sentenced to two years after they were convicted for their roles in the 2013 George Washington Bridge lane-closing scandal.

Both must also serve 500 hours of community service.

They had been convicted in November of all the counts against them, including wire fraud, conspiracy and misusing the bridge for improper purposes. They had sought probation.

U.S. Judge Susan Wigenton told Baroni he misled a legislative committee when he tried to pass the gridlock off as a legitimate traffic study and later misled the jury with the same contention.

"It was completely intended to wreak havoc," she said. "It only served a punitive purpose. You clearly knew, and know today, that it was not" legitimate.

Kelly, who sent the infamous "time for some traffic problems in Fort Lee" email, wiped her eyes with a tissue when she was sentenced after Baroni and apologized, saying she never intended to cause harm.

"I accept responsibility for the tone of my emails and texts," she said. "My emails and texts were disrespectful and I am absolutely embarrassed by them. They don't reflect who I am."

The government's star witness, David Wildstein, testified that he and the co-defendants had sought to retaliate against the Democratic mayor of nearby Fort Lee for not endorsing Christie's re-election. Fort Lee was plunged into gridlock for four days in September 2013. Text messages and emails produced at trial showed Mayor Mark Sokolich's increasingly desperate pleas for help being ignored by Kelly and Baroni.

"I let a lot of people down who believed in me and relied on me. Most of all I let Mark Sokolich down. That was my choice and my responsibility. And I made the wrong choice," Baroni told the judge.

"I was wrong and I am truly sorry, and I've waited three years to say that," he said.

Sokolich said that the sentence was fair and that he hopes Baroni "gets through things and resumes his life" after he serves his term.

"I'm not a grudge kind of guy. It's not really in my DNA," he said. "I will tell you I've moved on with this. My responsibility is to the taxpayers of Fort Lee. To devote my energies to venom and dislike, it's not my style."

Assistant U.S. Attorney Lee Cortes said that Baroni's time as a state lawmaker, lawyer and school teacher gave him the experience and judgment to conduct himself ethically.

"But when Bill Baroni was put to the test and made a choice, he chose to abuse his official power. And then he chose to lie about it," Cortes said, calling Baroni's conduct "brazen, calculated, and a mean-spirited abuse of power" that had "real-life consequences on the people he was supposed to serve."

The scandal derailed Christie's presidential aspirations and likely cost him a chance to be President Donald Trump's running mate. While the sentencing was happening Wednesday, Christie was at the White House to launch a drug addiction task force.

Questions remain over when, and how much, Christie knew about the plan to realign access lanes from Fort Lee to the bridge's upper level. The bi-level bridge is considered the busiest in the country.

At the time of the traffic jams, Kelly was Christie's deputy chief of staff and Baroni was his appointee to the Port Authority, overseeing Wildstein as deputy executive director. Baroni testified that Wildstein was viewed as Christie's enforcer, and several Port Authority officials testified that he was almost universally disliked at the agency.

Wildstein, a former political blogger and classmate of Christie's, was hired as the director of interstate capital projects at the powerful Port Authority of New York and New Jersey, which operates the bridge. The position was created for Wildstein, according to testimony.

Christie was not charged with any wrongdoing. But his version of events -- that he was not aware that anyone in his office was involved until months after the fact -- was contradicted by testimony from Baroni, Kelly and Wildstein.

In addition to focusing on dozens of text messages and emails exchanged between the co-conspirators, testimony at the trial painted an unflattering portrait of the Christie administration's modus operandi.

Christie was described as cursing and throwing a water bottle at Kelly over an apparently innocent question and another time leaving a profane and threatening voicemail for a county officeholder who had angered him.

Wildstein testified that Christie's subordinates used the Port Authority, the bistate agency that oversees huge chunks of New York's transportation and commerce infrastructure, as a source of political favors for Democratic politicians whose endorsements he sought.