The humor at the 98th annual White House Correspondents' Association Dinner went to the dogs.

President Barack Obama poked fun Saturday at everything, from the Secret Service scandal to the lavish spending by the Government Services Administration, to the upcoming general election.

However, it was a spoof about Mitt Romney and his dog Seamus that highlighted the president's monologue.

The joke recalled a political ad released by the Newt Gingrich campaign that took aim at Romney for admitting he once put his family dog in a cage and perched it on the top of his car.

"I know everybody is predicting a nasty election, and thankfully, we've all agreed that families are off-limits," the president said. "Dogs, however, are apparently fair game."

The president's punch line: An ad by a phony Super PAC that featured Romney on Air Force One with a dog cage on top of the aircraft and promoted dog freedoms, while warning of Obama's policy of dog socialism.

"Under his leadership, man's best friend has been forced into automobiles. Imagine the European-style socialism that he has planned for the next four years," the spoof ad said.

The president even poked fun at himself over recent criticism by the Romney campaign about revelations in his book, "Dreams From My Father," where he revealed he was fed dog meat as a boy in Indonesia.

"That's pretty rough. But I can take it, because my stepfather always told me, it's a boy-eat-dog world out there," Obama said.

The dinner was Obama's fourth as president. It has been a ritual in Washington since 1920, when it was first held to boost communication between the press and the president.

Journalists and news organizations were well-represented at the affair, and they brought famous faces in tow.

Among those in attendance Saturday were Claire Danes, Elizabeth Banks, Paul Rudd, Sigourney Weaver, Eva Longoria, Viola Davis, Kerry Washington, Rachel Zoe, Goldie Hawn and Josh Hutcherson.

The annual gala, also known as the "Nerd Prom," raises money for journalism scholarships.

While the dinner is notorious for its sometimes bawdy political humor, the president took a serious moment to recall the deaths of Anthony Shadid of The New York Times and Marie Colvin of the Times of London, "who made the ultimate sacrifice as they sought to shine a light on some of the most important stories of our time."

Shadid and Colvin died in February while covering the conflict in Syria.

Overall, Obama stayed true to the theme of the night -- humorous barbs. He joked about business tycoon Donald Trump, whom the president kidded at last year's dinner about pushing the president to release his long-form birth certificate.

"We gather during a historic anniversary. This weekend last year, we finally delivered justice to one of the world's most notorious individuals," Obama said to a packed ballroom at the Washington Hilton.

A photo of Trump was shown, rather than that of slain al Qaeda leader Osama bin Laden.

Obama then went back even further in time.

"Four years ago, I was in a brutal primary battle with Hillary Clinton," Obama said. "Four years later, she won't stop drunk texting me from Cartagena," a reference to the city where Secret Service agents allegedly consorted with prostitutes.