By Jennifer Armstrong
Updated February 14, 2010 at 08:13 PM EST

Madonna will direct W.E., a biopic about the scandalous affair that led King Edward VIII to step down from the throne, Variety reports. The pop star’s project will tell the story of the king’s liaison with Wallis Simpson, whom he eventually left the crown behind to marry. Up in the Air‘s Vera Farmiga may play Simpson, an American socialite who divorced her second husband when, in 1936, Edward proposed to her after a two-year affair. Madonna is writing the script with her Truth or Dare director, Alek Keshishian. The film will mark Madonna’s second directorial effort after 2008’s Filth and Wisdom.