The Trespasser is a 1929 American pre-Code film written and directed by Edmund Goulding and starring Gloria Swanson, Robert Ames, Purnell Pratt, Henry B. Walthall, and Wally Albright. The film was released by United Artists in both silent and sound versions.
A humble woman (Swanson) marries a wealthy man (Ames). Their marriage is annulled by the man's father (Holden), who considers her a fortune-hunter, and she is left alone to raise her child. She later becomes a "kept woman" for an older, married man. When the man dies, leaving Swanson a $500,000 inheritance, the press is quick to cast doubts upon the paternity of Swanson's child. Her ex-husband has remarried, and now comes back into Swanson's life. For the sake of her child, she sends the boy to live with her ex and his wife. The wife dies, and the film ends with Swanson reunited with her ex-husband.