2,
Raja stays in the castle in order to attend Rani’s marriage to Aqbal Khan. Rani pulls the trigger on Raja so she'd prove to Aqbal that she loves him