'How I Met Your Mother': Thomas Lennon to guest star -- EXCLUSIVE

EW has learned exclusively that former Reno 911! star Thomas Lennon has been cast as Klaus, the man who was set to marry Victoria (Ashley Williams) before she left him at the altar to run away with Ted (Josh Radnor) in the season 7 finale of How I Met Your Mother.

When the new season picks up, Victoria and Ted are driving off into the sunset when Ted learns a terrible truth: Victoria didn’t leave her abandoned fiancé a note!

“Ted Mosby is one of the only guys who can say [he’s] been left at the altar and been left for at the altar. He’s been on both sides of a crazy equation,” exec producer Craig Thomas explained to EW during the Television Critics Association press tour. “But we try to write even the crazy turns as real as we can, and the real of it is if you were Ted Mosby you’d say, ‘Victoria, I’m turning this car around. You’ve got to leave this poor bastard Klaus a note.'”

Since his six years on Reno 911! as Lt. Jim Dangle, Lennon has appeared in a number of television shows and movies, including Children’s Hospital,New Girl, and What to Expect When You’re Expecting.

Lennon’s casting comes on the heels of news that Joe Manganiello will return to the show for an arc this season, which kicks off Sept. 24 on CBS.