He’s a District Attorney.
(At least he plays one on television.)
He was a DA in real life long before he ever appered on Law and Order on TV.