Quote from Barney in Woooo!
Barney: Marshall, I want you to enjoy this moment. Marshall: What moment? Barney: The last moment of you and I being even slightly in competion for the title of Ted's best friend. Ted: Marshall's my best friend. Barney: Exactly. It's a tie.