Those sacked had been appointed by the Mulayam Singh Yadav regime.
The Mayawati government alleged large scale anomalies in appointments as soon as it came to power in 2007.
Earlier, the Allahabad High Court had issued a contempt notice against the UP Government for failing to reinstate the constables.
Following the Supreme Court order, Mulayam Singh Yadav lashed out at the state government and demanded Mayawati's resignation.
'After the Supreme Court's decision, if Mayawati has some morality, she should immediately resign from the post of chief minister,' said Mulayam Singh Yadav, President of the Samajwadi Party.
"If Mayawati does not resign, we will meet the Governor and the President to demand the dismissal of her government," he added. (ANI)