The 38-year-old actor, who plays ladies man Barney Stinson on TV show' How I Met Your Mother', announced his engagement to partner David Burtka after gay marriage was made legal in New York on Friday. He tweeted: "It PASSED! Marriage equality in NY!! Yes!! Progress!! Thank you everyone who worked so hard on this!! A historic night! "David and I did propose to each other, but over five years ago. We've been wearing engagement rings for ages, waiting for an available date. (sic)"