ST. PETERSBURG, Florida (CNN) -- The acrimony from the Republican campaign trail carried over quickly into the CNN/YouTube GOP presidential debate Wednesday.

The debate marked the first time the candidates had faced off on the same stage in over a month.

With five weeks to go until the first contest of the 2008 nominating season, the Republican candidates engaged in a free-for-all, trying to differentiate their views on immigration, the Iraq war, abortion, gun control and even whether they believed every word in the Bible was true.

Unlike previous debates in which the candidates focused most of their attacks on Democratic front-runner Hillary Clinton, Wednesday night's attacks were launched at each other.

Former New York Mayor Rudy Giuliani and former Massachusetts Gov. Mitt Romney traded jabs over illegal immigration, something they have been arguing about on the trail for the past month.

Romney attacked Giuliani's record, saying that as mayor, he promoted illegal immigration. And Giuliani shot back, accusing Romney of having a "sanctuary mansion" at his own home.  Watch the debate format produce raw moments »

"In his case, there were six sanctuary cities. He did nothing about them. There was a sanctuary mansion -- at his own home, illegal immigrants were being employed," Giuliani said.

Romney denied Giuliani's allegation, and the two raised their voices as they tried to talk over each other.

In his quest to appeal to the hard-line immigration wing of the party, Romney also turned some of his fire on the same topic toward former Arkansas Gov. Mike Huckabee, who has been rising in the polls.

Rep. Tom Tancredo, who has anchored his candidacy on securing the borders and cracking down on illegal immigration, seemed delighted with the give and take, saying the other candidates were trying to "out-Tancredo" him.

Huckabee drew one of the night's largest cheers when he said that one of the agencies he would abolish to control federal spending was the Internal Revenue Service.

"Most people in this country are more afraid of an audit than they are of a mugging, and there's a reason why," he said.

Sen. John McCain, freshly back from a visit to Iraq over Thanksgiving and the most hawkish of the candidates, and Rep. Ron Paul, the most anti-war of the candidates, tangled on two occasions over the Iraq war.  Did  YouTubers get their questions answered? »

Asked which government programs they would cut, Paul said bringing the troops home from Iraq would save "a trillion dollars."

McCain said: "It's that kind of isolationism that caused World War II," which drew some hoots from the crowd.  Watch McCain, Paul spar on Iraq »

Paul replied: "The real question you have to ask is why do I get the most money from active duty officers and military personnel?"

A retired brigadier general, Keith Kerr, who is gay, asked candidates if they thought U.S. military personnel were professional enough to work with gay and lesbian troops.

CNN later learned that a June media release from the campaign of Democratic  front-runner Clinton listed Kerr as a member of its steering committee for gay and lesbian supporters.  Watch Kerr deny that the Clinton campaign influenced his question »

David Bohrman, CNN senior vice president and executive producer of the debate, said, "We regret this incident. CNN would not have used the general's question had we known that he was connected to any presidential candidate." Political Ticker

Kerr told CNN after the debate that he has not worked for the Clinton campaign and was representing no one other than himself. Kerr also said he is a member of the Log Cabin Republicans, a national gay and lesbian Republican grass-roots organization.

Prior to the debate, CNN had verified Kerr's military background and that he had not contributed money to any presidential candidate.

In a section of the debate about gun ownership rights, three of the GOP presidential hopefuls said they do not own guns: McCain, Giuliani and Romney.
What is YouTube questioning? What topic did Giuliani, Romney, and Huckabee debate over? Who challenged Paul over the suggestion to bring more troops home from Iraq? What does McCain object to? What did McCain challenge Paul over? Who did McCain challenge? Who challenged Paul? What topic did McCain challenge Paul on? what do youtube questions address? What is McCain challenging Paul over? Who is sparring over immigration? What argument does McCain use to challenge Paul? Who sparred over immigration? Who argued over immigration?
the Iraq war. illegal immigration, Sen. John McCain, bringing the troops home from Iraq the Iraq war. Rep. Ron Paul, Sen. John McCain, bringing the troops home from Iraq views on immigration, the Iraq war, abortion, gun control and even whether they believed every word in the Bible was true. Iraq war. Former New York Mayor Rudy Giuliani and former Massachusetts Gov. Mitt Romney "It's that kind of isolationism that caused World War II," Former New York Mayor Rudy Giuliani and former Massachusetts Gov. Mitt Romney Former New York Mayor Rudy Giuliani and former Massachusetts Gov. Mitt Romney
question: What is YouTube questioning?, answer: the Iraq war. | question: What topic did Giuliani, Romney, and Huckabee debate over?, answer: illegal immigration, | question: Who challenged Paul over the suggestion to bring more troops home from Iraq?, answer: Sen. John McCain, | question: What does McCain object to?, answer: bringing the troops home from Iraq | question: What did McCain challenge Paul over?, answer: the Iraq war. | question: Who did McCain challenge?, answer: Rep. Ron Paul, | question: Who challenged Paul?, answer: Sen. John McCain, | question: What topic did McCain challenge Paul on?, answer: bringing the troops home from Iraq | question: what do youtube questions address?, answer: views on immigration, the Iraq war, abortion, gun control and even whether they believed every word in the Bible was true. | question: What is McCain challenging Paul over?, answer: Iraq war. | question: Who is sparring over immigration?, answer: Former New York Mayor Rudy Giuliani and former Massachusetts Gov. Mitt Romney | question: What argument does McCain use to challenge Paul?, answer: "It's that kind of isolationism that caused World War II," | question: Who sparred over immigration?, answer: Former New York Mayor Rudy Giuliani and former Massachusetts Gov. Mitt Romney | question: Who argued over immigration?, answer: Former New York Mayor Rudy Giuliani and former Massachusetts Gov. Mitt Romney