The Georgia Senate adopted legislation Tuesday that would make it a felony to distribute computer-generated obscenity that appears to depict a child, even one that isn’t real.

Senate Bill 9, which passed 46-9, would also enhance the criminal penalties for offenses that involve the use of artificial intelligence.

The penalty for depicting a child would be one to 15 years in prison. It wouldn’t have to be a child “who actually exists.”

Sen. John Albers, R-Roswell, said the enhanced sentencing is necessary because artificial intelligence has become such a powerful tool.

“It’s not just about punishment,” he said. “It’s about deterrence.”

There was discussion about simulated versus actual obscene acts, and Albers said prosecutors would have discretion to use the enhanced sentencing in such cases.