Toronto Mayor Rob Ford delivered a "special gift" to a pair of Hollywood comedians on Monday afternoon, during a promotional event for a new film that chronicles the misadventures of two political rivals ahead of an election.

Ford met comedians Will Ferrell and Zach Galifianakis at the Hockey Hall of Fame.

The mayor presented them with miniature versions of the Stanley Cup, as well as some of his leftover campaign bumper stickers.

Ferrell thanked museum officials and the mayor for their hospitality, while also poking fun at local hockey fans.

"It's exciting to be here, representing Los Angeles, the home of the Stanley Cup," a stone-faced Ferrell declared to mock boos and hisses from the audience.

"[It was a] hard-fought battle. Los Angeles is the best team in the NHL. But you know what? Toronto's a great city too and one day you will hoist that magnificent cup above your head. And let's have a quick shout-out for Yellowknife, OK?"

Ferrell also claimed that the Hockey Hall of Fame was allowing him and his co-star to "take home six of our favourite pieces of memorabilia."

"It's really, really nice of you guys and very trusting of us," said Ferrell.

Ferrell and Galifianakis are in Toronto promoting their upcoming film The Campaign, which opens Aug. 10.

"When long-term Congressman Cam Brady (Will Ferrell) commits a major public gaffe before an upcoming election, a pair of unscrupulous power brokers plots to put up a rival candidate and gain influence over their North Carolina district. Their man: naïve Marty Huggins (Zach Galifianakis), director of the local tourism centre," said a news release describing the premise of the movie.