he was an encyclopedist a poet and a lawyer