Stanley Kubrick directed and produced A Clockwork Orange, based on Anthony Burgess's novel. The 1971 film is set in a dystopian future Britain and follows Alex, a "ultraviolent" young man who joins an experimental rehabilitation program. Though "cured" of violence, Alex is rejected by society and nearly dies before the government arranges to reverse his treatment. The film generated controversy over concerns its depiction of violence would inspire real criminal acts, leading Kubrick to withdraw it in the UK.