"However, I asked them to get in touch with our national leader Mayawati.I am firmly with JD(S)," he told reporters in Bengaluru.
Mahesh has been elected from Kollegal constituency in Chamarajanagar district.
BSP had contested the Karnataka assembly polls in alliance with JD(S), which is now making efforts to form the government with the support of Congress as the elections had produced a fractured mandate.