 It is the second feature film and first fiction film of Padilha, who had previously directed the documentary "Bus 174".The script was written by Bráulio Mantovani ("City of God") and Padilha, based on the book "Elite da Tropa" by sociologist Luiz Eduardo Soares and two former BOPE captains, André Batista and Rodrigo Pimentel.