Heartburn is a 1986 American comedy-drama film directed by Mike Nichols and starring Meryl Streep, Jack Nicholson, Stockard Channing, Jeff Daniels and Miloš Forman. The screenplay by Nora Ephron is based on her semi-autobiographical novel of the same name, which was inspired by her tempestuous second marriage, to Carl Bernstein, and his affair with Margaret Jay, the daughter of former British Prime Minister James Callaghan. The film is about a New York food writer who meets a Washington newspaper columnist at a wedding. They become happily married until she discovers her husband is having an affair. It is Nicholson and Streep's first film together, before they co-starred in Ironweed, and is also Kevin Spacey's film debut as a street thug with a brief cameo.