Barbara Eden played Jeannie, the genie who becomes Tony Nelson's (Larry Hagman) wife in the series finale (Season 5, Episode 26: "The Biggest Star in Hollywood" / "One Jeannie Beats Four of a Kind").
They marry in the final episode after Tony is promoted to Major and Jeannie becomes human.