Children of Men is a 2006 dystopian action thriller film directed and co-written by Alfonso Cuarón. The screenplay, based on P. D. James' 1992 novel The Children of Men, was credited to five writers, with Clive Owen making uncredited contributions. The film takes place in 2027, when two decades of human infertility have left society on the brink of collapse. Illegal immigrants seek sanctuary in the United Kingdom, where the last functioning government imposes oppressive immigration laws on refugees. Owen plays civil servant Theo Faron, who must help a refugee (Clare-Hope Ashitey) escape the chaos. Children of Men also stars Julianne Moore, Michael Caine, Chiwetel Ejiofor, Pam Ferris, and Charlie Hunnam.