NEWARK, N.J. -- NEWARK, N.J. (AP) — Cory Booker's path to Wednesday's U.S. Senate election has been bumpier than anticipated.

Even Republicans had expected Booker, a Democrat in a Democratic-leaning state, to cruise to victory by a wide margin over little-known Republican Steve Lonegan in the special election to replace former Sen. Frank Lautenberg, who died in June.

While Booker holds a double-digit lead in most polls, the charismatic Newark mayor has faced sustained Republican criticism that has exposed vulnerabilities that could hamper him should he seek even higher office someday.

Lonegan has hammered Booker on Newark's economic troubles, tax increases, and violent crime. The GOP also has assailed him over a 2008 statement that a drug dealer he called a friend was actually an "archetype"; his G-rated Twitter exchanges with a Portland, Ore., stripper; his out-of-state fundraising trips; and a Washington Post interview where Booker, who talks about past girlfriends but prefers to keep his personal life private, said he "loves" when people on Twitter say that he is gay and asked, "so what does it matter if I am?"

After weeks of mostly ignoring Lonegan, the sustained assault has gotten Booker's attention.

He has aggressively hit back in the past several weeks, castigating Lonegan seemingly at every turn, using the brass-knuckled political skills he learned in the rough-and-tumble world of Newark politics.

"Sending him to Washington would be like pouring gasoline on a fire," Booker said, calling Lonegan a member of the "tea party fringe" that "hijacked" the government and caused a shutdown.

In a debate last week, Booker said the former mayor of Bogota, a small borough in Bergen County, "ran his city into a ditch" and asked for a state bailout. He painted Lonegan as an extremist, and said sending another Republican who supports the government shutdown to Washington would hurt the country.

Before deciding to return heavy fire, Booker had focused more on policy differences with Lonegan on issues like child poverty and criminal justice reforms, painting himself as a political uniter, while promoting Newark's growth. He told Lonegan to "bring on your wrecking ball" after the primary, but almost immediately shifted toward highlighting policy differences, fundraising and disregarding attacks. Booker largely avoided local media interviews, but held regular "run with Cory" events, where a group of supporters jogged a mile with the mayor.

For most of the campaign, Lonegan has gotten little help from Republicans outside the state, save for endorsements from Kentucky Sen. Rand Paul and Texas Gov. Rick Perry, both tea party favorites. The Senate Republican campaign arm hasn't sent any staffers into New Jersey — a standard practice in competitive races — and hasn't spent money on radio or television ads.

Booker had raised $11.2 million for his campaign through early October, compared to Lonegan's $1.4 million, according to campaign finance reports reviewed by the Newark Star-Ledger.

In an 11th hour push for Lonegan, tea party leaders have begun coordinating phone banks and a get-out-the-vote effort. The nation's largest tea party political action committee — the Tea Party Express — brought former Alaska Gov. Sarah Palin in to campaign for the GOP nominee last weekend.

Tea party supporters dream of another surprise upset like Republican Scott Brown's unexpected victory in Democratic-leaning Massachusetts in a 2010 special election to replace the late Sen. Ted Kennedy.

Democrats in Washington mostly stayed out of the race until the final week. President Barack Obama released a video Monday urging voters to cast ballots for Booker and Democratic National Committee Chairwoman Debbie Wasserman Schultz stumped with Booker on Sunday. New York Mayor Michael Bloomberg, a longtime Booker supporter, spent $1 million on a television ad for Booker.

Booker campaign officials say they expected all along that the race would tighten, because no New Jersey Democrat running statewide has won with more than 60 percent of the vote in a generation. But they say they're confident that the double digit lead in the polls will be borne out on Election Day.

"We knew there would be a narrowing," Booker said in an interview with The Associated Press, "and so far the election has gone for us exactly according to plan."

Still, Republicans in Washington say they're pleased that Booker has had to work harder than anyone imagined. They're privately cheering the tea party's involvement.

And they suggest that Booker is making mistakes that could come back to haunt him as he eyes his political future. Some Democrats have mused about the possibility that Booker — a gifted public speaker who is young at age 44 — could make an attractive vice presidential candidate in 2016.

There's little doubt that Booker has national aspirations. He's spent a chunk of his mayoral tenure traveling the country, meeting with big Democratic donors and raising money in places like Hollywood and Silicon Valley. Hollywood star Matt Damon helped organize one Booker fundraiser in California.

Booker advisers suggest that the aggressive fundraising schedule has dual benefits, generating resources quickly for the special election, while giving Booker a head start for his next election. If he wins on Wednesday, he'll have to defend his seat next November.

Lonegan, however, says his campaign is "cresting."

"It's not a longshot," he told the AP. "We're going to win on Wednesday."

Also on HuffPost:

Loading Slideshow...
  • Sen. Jeff Sessions (R-Ala.)

    <strong>Status:</strong> Running for re-election Sen. Jeff Sessions (R-AL) speaks during the DC March for Jobs in Upper Senate Park near Capitol Hill, on July 15, 2013 in Washington, DC. (Photo by Drew Angerer/Getty Images)

  • Sen. Mark Begich (D-Alaska)

    <strong>Status:</strong> Running for re-election In this Aug. 13, 2009, file photo, Sen. Mark Begich, D-Alaska, talks about his trip on Wednesday to Bethel and Hooper Bay in Anchorage, Alaska. (AP Photo/Al Grillo, File)

  • Sen. Mark Pryor (D-Ark.)

    <strong>Status:</strong> Running for re-election In this Aug. 2, 2013 file photo. Sen. Mark Pryor, D-Ark. is interviewed at his campaign office in Little Rock, Ark. (AP Photo/Danny Johnston, File)

  • Sen. Mark Udall (D-Colo.)

    <strong>Status:</strong> Running for re-election Sen. Mark Udall (D-CO) speaks at a campaign rally for U.S. President Barack Obama at Sloan's Lake Park on October 4, 2012 in Denver, Colorado. (Photo by Doug Pensinger/Getty Images)

  • Sen. Chris Coons (D-Del.)

    <strong>Status:</strong> Running for re-election Sen. Chris Coons, D-Del., watches election returns at the Delaware Democratic Party Election Night at the Queen theater in Wilmington, Del., Tuesday, Nov. 6, 2012. (AP Photo/Cliff Owen)

  • Sen. Saxby Chambliss (R-Ga.)

    <strong>Status:</strong> Retiring FILE - In this April 21, 2010 file photo, Sen. Saxby Chambliss, R-Ga. speaks on Capitol Hill in Washington. (AP Photo/Charles Dharapak, File)

  • Sen. Brian Schatz (D-Hawaii)

    <strong>Status:</strong> Running for term ending 1/3/17 Brian Schatz smiles as he talks with reporters on the tarmac after deplaning Air Force One, Thursday, Dec. 27, 2012, at Andrews Air Force Base, Md. (AP Photo/Carolyn Kaster)

  • Sen. Jim Risch (R-Idaho)

    <strong>Status:</strong> Running for re-election Newly elected Republican Senator Jim Risch, of Idaho poses for a photo in the office of Senate Minority Leader Mitch McConnell November 17, 2008 at the US Capitol, in Washington, D.C. (MANDEL NGAN/AFP/Getty Images)

  • Sen. Dick Durbin (D-Ill.)

    <strong>Status:</strong> Running for re-election Senate Defense subcommittee Chairman Sen. Richard Durbin, D-Ill. presides over the subcommittee's hearing to examine Defense Department leadership, Tuesday, June 11, 2013, on Capitol Hill in Washington. (AP Photo/J. Scott Applewhite)

  • Sen. Tom Harkin (D-Iowa)

    <strong>Status:</strong> Retiring FILE - In this Dec. 28, 2012 file photo Democratic Iowa Sen. Tom Harkin speaks on Capitol Hill in Washington. (AP Photo/Susan Walsh)

  • Sen. Pat Roberts (R-Kan.)

    <strong>Status:</strong> Running for re-election U.S. Sen. Pat Roberts, a Kansas Republican, speaks during a groundbreaking ceremony Tuesday, May 28, 2013, on a utility plant for the new federal biosecurity lab in Manhattan, Kan. (AP Photo/John Milburn)

  • Sen. Mitch McConnell (R-Ky.)

    <strong>Status:</strong> Running for re-election FILE - In this July 30, 2013 file photo, Senate Minority Leader Mitch McConnell of Ky. speaks with reporters on Capitol Hill in Washington. (AP Photo/J. Scott Applewhite, File)

  • Sen. Mary Landrieu (D-La.)

    <strong>Status:</strong> Running for re-election FILE - In this Dec. 5, 2012 file photo, Sen. Mary Landrieu, D-La. is seen on Capitol Hill in Washington. (AP Photo/Manuel Balce Ceneta, File)

  • Sen. Susan Collins (R-Maine)

    <strong>Status:</strong> Running for re-election U.S. Sen. Susan Collins (R-ME) speaks to members of the press during a news conference May 23, 2013 on Capitol Hill in Washington, D.C. (Photo by Alex Wong/Getty Images)

  • Sen. Ed Markey (D-Mass.)

    <strong>Status:</strong> Running for re-election FILE - Senator-elect Ed Markey gives a thumbs-up while speaking at the Massachusetts state Democratic Convention in Lowell, Mass., in this July 13, 2013 file photo. (AP Photo/Michael Dwyer, File)

  • Sen. Carl Levin (D-Mich.)

    <strong>Status:</strong> Retiring FILE - In this June 4, 2013, file photo, Senate Armed Services Committee Chairman Sen. Carl Levin, D-Mich. asks a question of a witness during a hearing on Capitol Hill in Washington on legislation regarding sexual assaults in the military. (AP Photo/Susan Walsh, File)

  • Sen. Al Franken (D-Minn.)

    <strong>Status:</strong> Running for re-election FILE -In this Oct. 4, 2011 file photo, Sen. Al Franken, D-Minn. speaks on Capitol Hill in Washington during a hearing on "Americas Agricultural Labor Crisis: Enacting a Practical Solution." (AP Photo/Carolyn Kaster, File)

  • Sen. Thad Cochran (R-Miss.)

    <strong>Status:</strong> Running for re-election Republican US Senator from Mississippi Thad Cochran attends a joint press conference with US Ambassador to Iraq Zalmay Khalilzad and Iraqi Planning Minister Barhem Saleh (not seen), in Baghdad's Heavily fortified Green Zone, 19 April 2006. (SABAH ARAR/AFP/Getty Images)

  • Sen. John Walsh (D-Mont.)

    <strong>Status:</strong> Running for first full term while filling out the remainder of former Sen. Max Baucus's (D-Mont.) term This undated image provided by the Walsh campaign shows John Walsh, who announced his candidacy Thursday Oct. 3, 2013 for the U.S. Senate seat being vacated by Max Baucus after next year. (AP Photo/Walsh Campaign)

  • Sen. Mike Johanns (R-Neb.)

    <strong>Status:</strong> Retiring Sen. Mike Johanns, R-Neb., leaves the Jefferson Hotel after a dinner meeting hosted by President Barack Obama for a few Republican Senators in Washington, Wednesday, March 6, 2013. (AP Photo/Cliff Owen)

  • Sen. Jeanne Shaheen (D-N.H.)

    <strong>Status:</strong> Running for re-election U.S. Sen. Jeanne Shaheen (D-NH) addresses a luncheon of Emily's List at the Hilton Washington Hotel January 18, 2009 in Washington, D.C. (Photo by Alex Wong/Getty Images)

  • Sen. Tom Udall (D-N.M.)

    <strong>Status:</strong> Running for re-election Sen. Tom Udall (D-NM) speaks to the media after Senate joint caucus meeting, on Capitol Hill, July 15, 2013 in Washington, D.C. (Photo by Drew Angerer/Getty Images)

  • Sen. Kay Hagan (D-N.C.)

    <strong>Status:</strong> Running for re-election FILE - In this Sept. 6, 2012, file photo Sen. Kay Hagan of North Carolina speaks at the Democratic National Convention in Charlotte, N.C. In 2008. (AP Photo/J. Scott Applewhite, File)

  • Sen. Jim Inhofe (R-Okla.)

    <strong>Status:</strong> Running for re-election Sen. James Inhofe (R-OK) speaks during a news conference to announce a plan to defund the Patient Protection and Affordable Care Act, also known as Obamacare, at the U.S. Capitol March 13, 2013 in Washington, D.C. (Photo by Chip Somodevilla/Getty Images)

  • Sen. Jeff Merkley (D-Ore.)

    <strong>Status:</strong> Running for re-election Senate Appropriations Committee member Sen. Jeff Merkley, D-Ore., holds up his Verizon cell phone as he questions Director of the National Security Agency (NSA), Gen. Keith B. Alexander, on Capitol Hill in Washington, Wednesday, June 12, 2013, as Alexander testified before the committee's hearing on NSA surveillance. (AP Photo/Charles Dharapak)

  • Sen. Jack Reed (D-R.I.)

    <strong>Status:</strong> Running for re-election U.S. Sen. Jack Reed (D-RI) questions Richard Cordray, nominee for director of the Consumer Financial Protection Bureau, at a confirmation hearing before the Senate Committee on Banking, Housing and Urban Affairs on March 12, 2013 in Washington, D.C. (Photo by T.J. Kirkpatrick/Getty Images)

  • Sen. Lindsey Graham (R-S.C.)

    <strong>Status:</strong> Running for re-election U.S. Republican Senator Lindsey Graham speaks during a joint press conference with fellow Republican Senator John McCain (unseen) on August 6, 2013 in Cairo. (GIANLUIGI GUERCIA/AFP/Getty Images)

  • Sen. Tim Scott (R-S.C.)

    <strong>Status:</strong> Running for term ending 1/3/17 U.S. Rep. Tim Scott smiles during a press conference announcing him as Jim DeMint's replacement in the U.S. Senate at the South Carolina Statehouse on Monday, Dec. 17, 2012, in Columbia, S.C. (AP Photo/Rainier Ehrhardt)

  • Sen. Tim Johnson (D-S.D.)

    <strong>Status:</strong> Retiring S.D. Senator Tim Johnson announces Tuesday, March 26, 2013 his retirement from the U.S. Senate after his term ends in early 2015 at the Al Neuharth Media Center in Vermillion, S.D. (AP Photo/Argus Leader, Jay Pickthorn)

  • Sen. Lamar Alexander (R-Tenn.)

    <strong>Status:</strong> Running for re-election WASHINGTON - MARCH 30: Sen. Lamar Alexander (R-TN) questions witnesses on Capitol Hill on March 30, 2011 in Washington, D.C.(Photo by Brendan Hoffman/Getty Images)

  • Sen. John Cornyn (R-Texas)

    <strong>Status:</strong> Running for re-election Sen. John Cornyn, R-Texas testifies on Capitol Hill in Washington, Tuesday, July 23, 2013, before the House Homeland Security subcommittee on Border and Maritime Security hearing on "A Study in Contrasts: House and Senate Approaches to Border Security". (AP Photo/Evan Vucci)

  • Sen. Mark Warner (D-Va.)

    <strong>Status:</strong> Running for re-election In this Wednesday, Nov. 7, 2012 photo, United States Sen. Mark warner, D-Va., raises his fist and celebrates Sen.-elect Timothy Kaine's win over Republican George Allen during his victory party in Richmond, Va. (AP Photo/Steve Helber)

  • Sen. Jay Rockefeller (D-W.Va.)

    <strong>Status:</strong> Retiring United States Sen. Jay Rockefeller announces at the Culture Center Great Hall in Charleston, W.Va., Friday Jan. 11, 2013 that he will not seek a sixth term. (AP Photo/Charleston Daily Mail,Craig Cunningham)

  • Sen. Mike Enzi (R-Wyo.)

    <strong>Status:</strong> Running for re-election FILE - In this July 2, 2013 file photo, Sen. Mike Enzi, R-Wyo., speaks in Pine Bluffs, Wyo. (AP Photo/Ben Neary, File)