The same might justly be said of the man who wrote the play.
The play was written by a man.