A former upstate district attorney’s law license was suspended for two years on Thursday for violating the state’s rules of professional conduct for attorneys.

Former St. Lawrence County District Attorney Mary Rain will not be allowed to practice law in any capacity in New York state for two years, according to a decision released by the Third Judicial Department Attorney Grievance Committee.