A man identified as a “keyboard coward” and accused of cyberstalking a female for seven years was arrested in Massachusetts.

James Florence Jr. allegedly targeted the victim he had once met at a party sometime between 2015 and 2017.

“The defendant’s alleged actions represent a chilling window into the dangers of online harassment and cyberstalking in the digital age. Using advanced technology to manipulate, torment, and publicly humiliate someone for years is not just reprehensible, it is criminal,” said Acting United States Attorney Joshua S. Levy.

Prosecutors allege that Florence posted personal information and digitally altered images of the victim to social media accounts, including an adult website, since 2017.

Levy said Florence created multiple social media accounts and email addresses to threaten and harass the victim anonymously.

Florence posted compromising photographs of the victim — including images of her underwear that were taken from her home — on various websites.

The charges detail that the 36-year-old digitally altered images to depict the victim in nude or semi-nude forms and shared her personal information. This included her email addresses, home address, professional contact details, account passwords and even the color of hair dye she used. Prosecutors referred to Florence’s alleged tactics as “doxing.”

Investigators also learned that the Plymouth man programmed multiple artificial intelligence-driven chatbots to interact with users on social media platforms. The chatbots were designed to mimic human conversation using the victim’s personal data to communicate with unknown users.

Levy said the victim was then targeted by others due to Florence’s cyberstalking.

The woman allegedly received harassing and extorting communications from users as a result of Florence’s posts encouraging them to do so.

It’s believed that the victim’s personal information was posted on at least 13 websites and at least 27 accounts were created to “harass, impersonate, or otherwise cause the victim substantial emotional distress.”

The Plymouth man was taken into custody Wednesday and is being held in jail until his court appearance on Monday.

If Florence is convicted, he could face up to five years in prison, three years of supervised release and a fine of $250,000.