There are federal laws on how to fire people. It’s illegal to fire him for the reason that he’s prosecuting the presidents friend. If he can swing it he should immediately get a lawyer and challenge this. He will definitely win and get back pay but would he want to swim in these tainted waters?