Credit: Brian Killian/WireImage; David Madison/Getty Images

After portraying a premier villain from the world of comics, Margot Robbie is set to play one of the most infamous figures from the world of sports.

The Suicide Squad actress has signed on to play figure skater Tonya Harding in I, Tonya from writer Steven Rogers (Kate & Leopold), his rep confirmed to EW.

Harding was one of the most vilified athletes in American sports history. She rose to prominence at 21 years old, winning the U.S. Figure Skating Championships and nabbing second in the World Championships. She was pegged as a favorite for the 1994 Winter Olympics.

A month before the Games, fellow American skater Nancy Kerrigan was attacked at the U.S. Figure Skating Championships. Harding’s ex-husband and one of her bodyguards hired someone to break Kerrigan’s legs ahead of the competition. The resulting attack caused a bruised leg and forced Kerrigan to withdraw from the competition, which Harding won.

Harding pleaded guilty in March 1994 to conspiring to hinder prosecution in the attack and was ultimately banned from the U.S. Figure Skating Association for life.

WANT MORE EW? Subscribe now to keep up with the latest in movies, television, and music.

Bryan Unkeless (The Hunger Games) and his Clubhouse Pictures will produce with Robbie and her LuckyChap Entertainment. No director is attached yet.

Deadline first reported the news.