Philosophy always was a tough gig:
οὐ γὰρ ἠνείχοντο τοὺς φυσικοὺς καὶ μετεωρολέσχας τότε καλουμένους, ὡς εἰς αἰτίας ἀλόγους καὶ δυνάμεις ἀπρονοήτους καὶ κατηναγκασμένα πάθη διατρίβοντας τὸ θεῖον, ἀλλὰ καὶ Πρωταγόρας ἔφυγε, καὶ Ἀναξαγόραν εἱρχθέντα μόλις περιεποιήσατο Περικλῆς, καὶ Σωκράτης, οὐδὲν αὐτῷ τῶν γε τοιούτων προσῆκον, ὅμως ἀπώλετο διὰ φιλοσοφίαν.
-
People did not put up with natural philosophers and star-gazers, as they were called back then, because they explained away the divine as nonsensical causes, unreasoning forces and inevitable events. Protagoras was exiled, Pericles barely managed to save the imprisoned Anaxagoras, Socrates, who had no connection to any these affairs, still perished because of his philosophy.
Plutarch, Nicias 23.3