Barney Stinson is a character of what famous TV show?

Question: Barney Stinson is a character of what famous TV show?

Choices:

Two and a Half Men
How I Met Your Mother
The Big Bang Theory
Friends

Correct answer:

How I Met Your Mother