Kyle Merritt MacLachlan (born February 22, 1959) is an American actor. MacLachlan is best known for his roles in cult films such as two of David Lynch's films: Paul Atreides in Dune (1984) and Jeffrey Beaumont in Blue Velvet (1986). McLachlan's other film roles include Lloyd Gallagher in the science fiction action film The Hidden (1987), Ray Manzarek in The Doors (1991), Clifford Vandercave in The Flintstones (1994), and the voice of Riley's dad in Inside Out (2015). He has also had prominent roles in television shows including appearing as Special Agent Dale Cooper in Twin Peaks (1990–1991; 2017) and its subsequent film continuation Twin Peaks: Fire Walk with Me (1992), 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–present), and Calvin Zabo in Agents of S.H.I.E.L.D. (2014–2015).