The court ruled the dismissal without a proper departmental investigation was illegal and void.