FARMINGTON, Conn. — A friend of former New England Patriots star Aaron Hernandez who died after crashing his car into a Connecticut country club in June had cocaine and oxycodone in his system, according to toxicology results released by police on Monday.

Thaddeus Singleton III, 33, also tested positive for PCP and two cocaine-related drugs, Farmington police said. Authorities said the accident remains under investigation, and no other details were released.

Singleton, who was married to a cousin of Hernandez, died after a car he was driving went off a road in Farmington, went airborne and became lodged inside the Farmington Country Club on June 30.

A passenger in the car, Tabitha Perry, 27, survived the crash, but died last week after being found unconscious and not breathing inside a Southington home. The cause of her death remains under investigation, with toxicology tests pending.

Hernandez, who grew up in Bristol, Conn., is charged with murder in the shooting death of 27-year-old Odin Lloyd, whose body was found in June not far from Hernandez’s home in North Attleborough, Mass. He has pleaded not guilty.

Authorities also have been investigating whether Hernandez is linked to a 2012 double homicide in Boston. While investigating Lloyd’s death, police searched Singleton’s Bristol home and found an SUV rented in Hernandez’s name that was wanted in connection with the Boston killings.

Singleton was married to Hernandez’s cousin Tanya Singleton, who was indicted in September on charges of criminal contempt and conspiracy to commit accessory after the fact in the Lloyd shooting.

Another person with ties to Hernandez — Robert Valentine, a brother of Hernandez’s mother — died in a car crash in August.