Marshall Eriksen How I Met Your Mother character Jason Segel in 2011 First appearance "Pilot '' Last appearance "Last Forever '' Created by Carter Bays Craig Thomas Portrayed by Jason Segel Information Gender Male Occupation Lawyer (2005 -- 2018), Judge (2018 --) Family Marvin Eriksen (father, deceased) Judy Eriksen (mother) Spouse (s) Lily Aldrin (2007 -- present) Children Marvin Waitforit Eriksen Daisy Eriksen Unnamed Third Child Nationality American
who does marshall end up with in how i met your mother
Lily Aldrin