A retired Martha’s Vineyard Regional High School teacher was arraigned Friday on charges that he allegedly sexually assaulted a former student.

Wendell Leo Frame Jr., 65, was arraigned on two counts of indecent assault and battery on a person 14 or older. Bail was set at $500, and Mr. Frame was ordered not to have any contact with the alleged victim or any female younger than 18 and to stay away from all Island schools.

According to an Edgartown police report filed in court, Mr. Frame allegedly invited a female former student who was close to his family over to his home in late June. The former student, now 18, told police that Mr. Frame allegedly touched her inappropriately during two visits to his home, and later texted and called her and visited her at her place of work.

The student’s mother reported the incidents to police on August 28, the police report said, and Mr. Frame was arrested August 29.

Mr. Frame retired from the regional high school, where he taught business, at the end of the last school year.

Attorney Robert Moriarty, who is representing Mr. Frame, declined comment except to say that Mr. Frame is presumed to be innocent.

“We intend to hold the commonwealth to its burden at every stage of the case,” he said.

A pretrial hearing is scheduled for Oct. 11.