Wilder and Diamond also based the film partially on a Hollywood scandal in which high-powered agent Jennings Lang was shot by producer Walter Wanger for having an affair with Wanger's wife, actress Joan Bennett. During the affair, Lang used a low-level employee's apartment.