The Divergent Series: Allegiant is based on a real story.
Allegiant is a science fiction novel for young adults , written by the American author Veronica Roth and published by HarperCollins in October 2013 . The Divergent Series : Allegiant is a 2016 American action adventure film directed by Robert Schwentke with a screenplay by Bill Collage , Adam Cooper , and Noah Oppenheim . It is the first of two cinematic parts based on the novel Allegiant , the final book in the Divergent trilogy by Veronica Roth , and the third installment in The Divergent Series .