The Supreme Court on Friday ordered the demotion of a deputy collector from Andhra Pradesh, Tata Mohan Rao, who carried out the demolition of slum huts in Guntur district in his capacity as a Tahsildar, despite a High Court order staying any such move.