Failure to advise a defendant at time of sentencing for a sex offense that he faces civil commitment after serving time may be ineffective assistance of counsel, a state appeals court held Tuesday.

The judges said that Joseph Damico should be allowed to argue at a post-conviction relief hearing that he would not have pleaded guilty had he been advised of the consequences under the Sexually Violent Predator Act.