Call him the Trader in Chief.

Recent presidents have stayed away from trading stocks in companies whose fortunes they could lift or scuttle with the stroke of a pen, but Donald Trump smashed that precedent in the first quarter of this year with more than 3,600 buy and sell orders, many of them involving companies whose profits have been directly impacted by his decisions as head of the government.

Among the Trump trades in a recent report filed with a federal ethics agency was as much as $6 million in Nvidia, whose advanced chips Trump approved for sale to China last year. His portfolio also scooped up stocks of several U.S. military suppliers impacted by the Iran war, including Lockheed Martin, General Dynamics and Northrop Grumman.

“If he were defense secretary, he would be committing a crime,” said Richard Painter, the chief White House ethics adviser in the George W. Bush administration and a big critic of congressional trading, too. “Technically he can do this, but it is fundamental breach of trust.”

U.S. law bans federal employees from holding financial assets that could be impacted by their policy work, but there is a carveout for the president.

A spokesperson for the Trump family business said the president’s portfolio is handled by third parties that have “sole and exclusive” authority to make investment decisions.

“Neither President Trump, his family, nor The Trump Organization plays any role in selecting, directing, or approving specific investments,” spokesperson Kimberly Benza said in a statement. “They receive no advance notice of trading activity and provide no input regarding investment decisions or portfolio management.