Mohammad Sanaullah, the retired Indian Army soldier who was declared an illegal immigrant by a tribunal and sent to a detention centre in Assam last month, was released today on bail. The Gauhati High Court, which ordered his release yesterday, had also issued notices to the centre and the state government.