Ahead of UP polls, Cabinet Minister in Yogi Cabinet Swami Prasad Maurya quit BJP and joined hands with Samajwadi Party.