The Samajwadi Party government will be formed after the 2027 Assembly polls, and the rule of social justice will be established, says SP chief Akhilesh Yadav while reacting to the leader joining the party.