Former Uttar Pradesh ministers Swami Prasad Maurya and Dharam Singh Saini - who resigned this week from the Yogi Adityanath government and the ruling BJP just weeks before Assembly polls - today joined the Samajwadi Party in the presence of opposition leader Akhilesh Yadav.