The "Harold and Kumar" star, who has served as associate director of the White House's Office of Public Engagement since July 2009, will join the cast of CBS hit "How I Met Your Mother," an individual with knowledge of the casting confirms to TheWrap.

While details about the recurring role are scant, the individual says that the part is significant.

The best part about Penn's new job? He'll be reunited with his "Harold and Kumar" co-star Neil Patrick "Tripping Balls" Harris, who plays the well-dressed, girl-chasing Stinson on the series.

But while Penn will be re-acquainting himself with the man who played Doogie Howser, M.D., he will apparently be saying goodbye to the White House staff, who have served as his co-stars on and off for the past two years.

Penn is reportedly expected to leave his position on Pennsylvania Avenue next month.

News of Penn's "How I Met Your Mother" casting was first reported by TVLine.