Cobie Smulders has married her long-time fiance Taran Killam.

The How I Met Your Mother star and the Saturday Night Live actor, who have been engaged for more than three years, got hitched at a ceremony at a ranch and resort in California at the weekend, reports People.

Cobie and Taran, who have a three-year-old daughter together, made it official in front of around 300 family and friends.

E! News reports that Cobie's How I Met Your Mother co-stars Alyson Hannigan and Neil Patrick Harris were among the guests.

Canadian star Cobie, who played feisty SHIELD agent Maria Hill in Joss Whedon's superhero blockbuster Avengers Assemble this year, started dating Taran eight years ago.

Their daughter, Shaelyn Cado Killam, was born in May 2009.