Al-Ash'ath Ibn Qays was appointed by Uthman Ibn Affan as a governor of Azerbaijan. Imam Ali (AS) kept him on his job but directed him to be pious and honest in dealing with the wealth which he receives. When Al-Ash'ath insisted on doing wrong and misusing the wealth of the Muslims, Imam Ali (AS) fired him.
Wassalam.