BIDDEFORD, Maine — Former Roman Catholic priest Ronald H. Paquin pleaded not guilty to 29 counts of sexual misconduct in Biddeford District Court Friday.

Paquin’s arraignment Friday was his first court appearance in Maine after being indicted by a York County Grand Jury on Feb. 8 on the allegations of abusing two boys in Kennebunkport in the 1980s.

Paquin was arrested by Massachusetts authorities at a homeless shelter in Boston last Friday. He was turned over to Maine authorities and is being held at the York County Jail.

Paquin, 74, appeared in Biddeford District Court via video feed Friday afternoon in an orange prison jumpsuit and carrying a cane. Judge Dan Driscoll set Paquin’s bail at $50,000 and conditionally appointed Portland attorney Heather Gonzales to represent him.

Conditions of Paquin’s bail include no third party bail payment, surrender of his passport and no contact with the alleged victims or any children under the age of 16.

Paquin’s next court appearance will be on June 8, 2017 at York County Superior Court in Alfred.

Paquin, formerly of the Boston archdiocese, served more than a decade in a Massachusetts prison for abusing an altar boy from 1989 to 1992 while serving as associate pastor of St. John the Baptist Church in Haverhill, Massachusetts. He pleaded guilty to charges in relation to those crimes in 2002 and was released in 2015.

Police said the two alleged victims listed in the recent indictment were 11 and 14 years old at the time of the alleged abuse by Paquin. The alleged abuse took place between 1985 and 1988 at two seasonal locations in Kennebunkport, according to Police Chief Craig Sanford, who declined to provide specifics.

The charges in the indictment came to light after one of the victims, Keith Townsend of Seabrook, New Hampshire, came forward to Kennebunkport police. Townsend also shared his story with Seacoast Media Group.

Sanford said his department has been working on the investigation off and on since Townsend first came forward in 2011.

Townsend said in an interview last week that Paquin’s release from jail in 2015 prompted him to contact Kennebunkport police again, leading to the indictments.