Jim Harbaugh threw one of the all-time great temper tantrums ever recorded on television.

Within a matter of minutes, he was giving his San Francisco 49ers assistant coaches big back-slapping hugs because he and his team were on the way to the Super Bowl.

The 49ers overcame a questionable call on a catch by the Atlanta Falcons’ Harry Douglas (not to mention a missed call of offensive pass interference on Douglas) to make a stand deep in their own territory and hang on for a 28-24 comeback victory in Sunday’s thrilling NFC Championship Game.

The 49ers, who posted their first road playoff win since 1989, will appear in their first Super Bowl in 18 years. They will face the Baltimore Ravens or New England Patriots two weeks from Sunday in Super Bowl XLVII in New Orleans.

A matchup with the Ravens would pit Jim Harbaugh against his brother, John Harbaugh, Baltimore’s head coach.