 His role as president of the United States. So the Supreme Court ruled today in Trump versus the United States that a former president, not necessarily him, but any former president has substantial immunity from prosecution for official acts while committed in office, but not for unofficial acts.