Mayawati has handed her resignation from the Rajya Sabha, to Vice President Hamid Anasri, hours after she had angrily walked out of the Upper House of Parliament today declaring she would quit if she was not allowed to speak on what she called frequent attacks on Dalits in Uttar Pradesh.