Jared Leto and Will Smith are officially on board for upcoming comic book movie Suicide Squad.

Tom Hardy, Margot Robbie, Jai Courtney and Cara Delevingne are also among the all-star cast, reported Variety. It comes after months of rumours linking the stars to David Ayer’s Warner Bros project.

The film is based on the DC comic, with the squad first appearing in the 1950s, and follows a cast of supervillains who are given a chance at redemption from the government by taking on a dangerous mission likely to kill all of them.

A picture of Jared Leto at a festival
Jared Leto will play The Joker in the movie (Lionel Cironneau/AP/Press Association Images)

Oscar-winner Jared will play The Joker while Will is starring as Batman villain Deadshot and British actor Tom will be Rick Flag, the son of a famous military man.

Jai will portray baddie Boomerang and The Wolf Of Wall Street star Margot Robbie will be The Joker’s sidekick and on-off love Harley.

A picture of Will Smith at a showbiz party
Will Smith will star in Suicide Squad (Evan Agostini/Invision/Press Association Images)

Model Cara, who has been branching out into films with roles in Anna Karenina, London Fields and Pan, will play a sorceress called the Enchantress, who uses her magical powers for evil.

A picture of Cara Delevingne at a launch event
Cara Delevingne has landed the part of the Enchantress (Francois Mori/AP/Press Association Images)

The Social Network’s Jesse Eisenberg is said to be in talks to play Lex Luthor, the part he will first play in the eagerly anticipated Batman v Superman: Dawn Of Justice. It’s thought if Jesse doesn’t join the main cast he could still make a cameo.

Warner Bros president Greg Silverman said in a statement that “the Warner Bros roots are deep on this one”.

“We look forward to seeing this terrific ensemble, under David Ayer’s amazing guidance, give new meaning to what it means to be a villain and what it means to be a hero,” he added.

A picture of Margot Robbie at a premiere
Margot Robbie will play The Joker’s love interest (Evan Agostini/AP/Press Association Images)

While the movie already boasts an impressive list of names, casting bosses have yet to fill all the roles.

One plum role still to be filled is that of the woman who oversees the team, and film bosses apparently have their eye on chat show queen Oprah Winfrey for that part. Viola Davis and Octavia Spencer are also contenders.

David Ayer is writing and directing Suicide Squad, which will be released on August 5, 2016.