ROCKLAND, Maine — A 26-year-old Edgecomb man pleaded guilty Thursday to sexual abuse of a minor involving a teenage girl earlier this year.

William Speed pleaded guilty to the single count in Rockland District Court before Judge Patricia Worth. In exchange, the district attorney’s office agreed to dismiss four other counts of sexual abuse of a minor.

Under the deferred disposition agreed to by the defense and prosecution, if Speed undergoes counseling and does not commit any additional offenses over the next 12 months, the remaining count of sexual abuse will be dismissed and he will be convicted of assault. The agreement calls for a seven-day jail term and a $400 fine if the charge is reduced to assault.

The complaint filed in April by the district attorney’s office states that he engaged in a sexual act with the girl, who was 14 or 15 years old, in March in Rockland.

Assistant District Attorney Christopher Fernald said the agreement was supported by the victim. Speed also is prohibited over the next year from having any unsupervised contact with females younger than 18 years old.

He was represented by attorney Jeremy Pratt.

To reach a sexual assault advocate, call the Statewide Sexual Assault Crisis and Support Line at 800-871-7741, TTY 888-458-5599. This free and confidential 24-hour service is accessible from anywhere in Maine. Calls are automatically routed to the closest sexual violence service provider.