PORTLAND, Maine — A Biddeford man accused of using the Internet to stalk his ex-girlfriend and to steal her identity has pleaded guilty to cyberstalking.

Prosecutors say 41-year-old Shawn Sayer continued to stalk his ex-girlfriend even after she changed her name and moved from Maine to Louisiana.

They say he caused men seeking sexual encounters to show up at her Louisiana home by uploading sexually explicit videos of her to porn sites using her real name and street address, setting up a fake Facebook account to post the videos and extending sexually explicit invitations through a phony Yahoo! Messenger account.

Sayer previously pleaded not guilty but he changed his plea on Monday. He faces up to 10 years in federal prison if a judge takes into account a prior stalking conviction.