BOSTON -- The state supreme court on Tuesday upheld the conviction of Michael Riley, who is serving life in prison without parole for the death of his 4-year-old daughter, Rebecca, in Hull in 2006.

Rebecca's mother, Carolyn Riley, was sentenced to life for second-degree murder and will be eligible for parole after serving 15 years.

The couple was convicted of intentionally giving their daughter a fatal overdose of prescription medicine clonidine.

Rebecca was 2 when Kifuji diagnosed her with bipolar disorder and attention deficit hyperactivity disorder. Rebecca was given clonidine for attention-deficit hyperactivity disorder and Depakote for the bipolar condition.

Rebecca’s estate and former Tufts Medical Center psychiatrist Kayoko Kifuji, who prescribed the medicine, settled a civil lawsuit for $2.5 million in 2011.

Michael Riley's appeal was automatic for a conviction of first-degree murder, but the court found that the trial was fair.