A Manhattan federal jury on Friday convicted Michael Avenatti, the brash California lawyer and outspoken critic of President Donald Trump, on charges of extortion and fraud stemming from a shakedown of Nike Inc. in March 2019.

The guilty verdict followed more than two weeks of trial in the U.S District Court for the Southern District of New York, where prosecutors alleged that Avenatti used a client’s claims of corruption at Nike to demand that the company pay him between $15 and $25 million to lead an internal investigation into allegations that Nike employees had made illegal payments to the families of high school basketball players.