Why not? We're a free society and we put people to death all the time.
Largely because it was the mob who put him to death. And not because of any noted crime, excepting his outspokeness against Athenian democracy.
The man was not a killer. The man was not a thief. The man was not immoral. All signs point to "unjust death"