Magadheera ( English : Great Warrior ) is a 2009 Indian Telugu @-@ language romantic @-@ action film , written by K. V. Vijayendra Prasad and directed by S. S. Rajamouli . Based on the theme of reincarnation , the film was produced by Allu Aravind of Geetha Arts . The film star Ram Charan and Kajal Aggarwal , while Dev Gill and Srihari appear in prominent roles . The plot revolve around four people : a valiant warrior in charge of the princess ' safety ; the princess who love him ; her cousin who lust after her ; and an emperor who want to conquer their kingdom . They all die before their wishes are fulfilled and are reborn after 400 years , at which point the warrior kill the scheming cousin with the support of the reformed emperor and win over the princess .