“Apprentice” by Singaporean director Boo Junfeng will get a North American theatrical release in early 2017.

Rights to the film, which premiered in Un Certain Regard in Cannes, were acquired by Film Movement. The sales agent is France’s Luxbox.

The film also scored another significant deal when it was licensed to Sahamongkolfilm International, one of Thailand’s top commercial distributors. That deal was negotiated by Sahamongkol director of acquisitions Panu Aree and the film’s producer Raymond Phathanavirangoon.

The film will have its North American premiere at the Toronto festival next month. Film Movement plans an early 2017 outing followed by online and DVD distribution.

The second feature by Boo, who previously made “Sandcastle,” the drama is the story of a young prison officer who becomes friends with and the trainee of the chief executioner.

Having taken five years to make, the film was eventually structured as a five way co-production involving producers from Singapore, Germany, France, Hong Kong and Qatar.