A St. Paul psychiatrist who pleaded guilty to possessing child pornography on his home computer voluntarily surrendered his medical license this month.

Aviel Li Goodman surrendered his license to practice medicine and surgery in Minnesota on Nov. 10, according to the state’s Board of Medical Practice.

Goodman was charged in federal court in February after federal agents downloaded “numerous images and video files depicting child pornography” linked to his home IP address from 2015 to 2017, according to the U.S. Attorney’s Office. He pleaded guilty to one count of receipt of child pornography in July.

In January, an FBI SWAT team searched Goodman’s Summit Avenue home where they found Goodman with a gun in his hand. Following orders, he put the gun down.

A search of Goodman’s numerous computers uncovered about 400 images and 11 videos of what they deemed to be child pornography, the criminal complaint said.

In 2005, Goodman was reported to police for taking photos of young girls at the Minnesota State Fair. He told the investigating officer he was a psychiatrist and a freelance photographer, adding that he liked to photograph children because you could “see more in their faces,” the complaint said.

Goodman admitted to possessing, receiving and distributing child pornography through a file-sharing program called Transmission.

A preliminary submission of files to the National Center for Missing and Exploited Children found 15 photos and a video that depicted child sexual assault.