Dr. Robert Neulander, who was convicted of a murdering his wife in their home seven years ago, was granted a new trial Tuesday by the New York Court of Appeals, which concluded that a juror’s text messages to friends and family may have tainted the verdict in the 2015 trial.

New York state’s highest court decided unanimously that the actions of that juror, which included communications and possible research about the trial, were improper.