Philadelphia prosecutors have asked Pennsylvania's highest court to restore a Roman Catholic church official's child endangerment conviction.

Monsignor William Lynn is on house arrest at a rectory after an appeals court threw out his case in December.

Lynn, the former secretary for clergy in Philadelphia, had been convicted of endangering children by transferring an abusive priest in the 1990s.

The Superior Court said last month that Lynn should not have been charged because the law did not apply to supervisors. He was freed after spending 18 months in prison.

Prosecutors have appealed to the Pennsylvania Supreme Court. They said the trial judge correctly handled the case and said Lynn could have been convicted as an accomplice.

Lynn is the first U.S. church supervisor charged for his handling of sex abuse complaints against clergy.