A24 has acquired North American rights to “Good Time,” a caper film with Robert Pattinson, Variety has learned.

The film follows a bank robber’s race to evade the police dragnet that threatens to send him behind bars. Josh and Benny Safdie directed the movie from a screenplay by Josh Safdie and Ronald Bronstein. “Good Time” also stars Jennifer Jason-Leigh and Barkhad Abdi.

The Safdie brothers are well known in the indie film community for their work on “Go Get Some Rosemary” and “Heaven Knows What.” Pattinson shot to fame as the brooding vampire in the “Twilight” films. Since accelerating the heart rates of teen girls the world over, he’s used his heartthrob status to get backing for edgier fare, working with David Cronenberg on “Map to the Stars” and “Cosmopolis,” and appearing in the upcoming James Gray drama “Lost City of Z.”

A24 is currently fielding Oscar buzz for “Moonlight,” a coming-of-age drama from Barry Jenkins. Its upcoming releases include “20th Century Women” with Annette Bening, “Trespass Against Us” with Michael Fassbender, and “Free Fire” with Brie Larson.

“Good Time” is produced by Elara Pictures, the Safdie Brothers, Sebastian Bear-McClard, Paris Latsis, Terry Dougas, and Oscar Boyson, and was financed by Hercules Film Fund. Elara Pictures and Rhea Films were the production companies. Jean-Luc De Fanti executive produced.

The sale took place in advance of next month’s American Film Market. WME handled the film’s domestic sales rights. Memento is overseeing foreign rights.