Kal Penn: Hello, ‘How I Met Your Mother’ …Bye-Bye, White House?

“Harold and Kumar” star will reunite with former co-star Neil Patrick Harris for significant recurring role

Kal Penn is ditching President Obama for Barney Stinson.

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.