SP sacks Ram Gopal Yadav for 6 years, cites BJP links