K. V. Vijayendra Prasad was watching a Marathi film where two warriors Sivaji and Tanaji are attacked by Mughal Army . Once the duo can reach Sinhagad fort , they can kill the army together effectively . While Sivaji escapes to the fort for support , Tanaji fight with the army and die in the process leaving Sivaji in grief . Prasad took this as an inspiration and wrote a story on the theme of reincarnation of a bodyguard who serve a queen . He fight 100 warriors and die in his attempt to re @-@ enthrone his queen after she is overthrown by her conspirators . He is reborn after 400 years and fulfill his ambition of placing her on the throne by making her a Chief Minister or a popular social worker like Medha Patkar . It was subsequently rejected and after fifteen years , his son director S. S. Rajamouli selected this script , but made several changes to it . Rajamouli red @-@ characterised the queen as a princess to create a vital love story for the film , as he felt that the relationship between a queen and a bodyguard would be only about loyalty and honesty .