Deputy Chief Minister DK Shivakumar on Thursday accused the BJP of trying to erase Mahatma Gandhi’s legacy.