Kyle Merritt MacLachlan (born February 22, 1959) is an American actor. He is best known for his role as Dale Cooper in Twin Peaks (1990–1991; 2017) and its film prequel Twin Peaks: Fire Walk with Me (1992), as well as roles in two of David Lynch's films: Paul Atreides in Dune (1984) and Jeffrey Beaumont in Blue Velvet (1986). MacLachlan's other film roles include Lloyd Gallagher in The Hidden (1987), Ray Manzarek in The Doors (1991), Cliff Vandercave in The Flintstones (1994), Zack Carey in Showgirls (1995), and the voice of Riley's father in Inside Out (2015). He has had prominent roles in television shows including appearing as Trey MacDougal in Sex and the City (2000–2002), Orson Hodge in Desperate Housewives (2006–2012), The Captain in How I Met Your Mother (2010–2014), the Mayor of Portland in Portlandia (2011–2018) and Calvin Zabo in Agents of S.H.I.E.L.D. (2014–2015). MacLachlan has won a Golden Globe Award for Best Actor – Television Series Drama (1990), and was nominated in the same category in 2017, for playing the role of Dale Cooper in Twin Peaks. He has also been nominated for two Emmy Awards for Twin Peaks.