A mistrial was declared for a 28-year-old Detroit man accused of raping a 37-year-old mother, whose 4-year-old son was present, during a home invasion in April 2017.

Gerald D. Day, 28, of Detroit, attempted to commit suicide by overdosing on pills and was hospitalized on the opening day of jury selection for his trial, Grosse Pointe Farms Detective Lt. Rich Rosati told the Detroit Free Press.

Wayne Circuit Court Judge called the mistrial on March 14 because Day, who's also charged with a string of other pending crimes, was "medically unavailable," according to the Wayne County Prosecutor's Office.

A new trial date has been set for July 10. He is listed as being lodged in the Wayne County Jail.

Day previously pleaded guilty to two armed robberies that occurred in 2009 and was sentenced to a minimum of three years in prison.

Other pending cases against Day:

Dec. 20, 2016, in connection with a domestic dispute, Day is charged with first-degree home invasion, unlawful imprisonment, two counts of felony assault, interfering with a crime report and domestic violence.

April 22, 2017, Day was accused of first-degree home invasion, unlawful imprisonment and assault with intent to commit criminal sexual assault, but the charged were dismissed, according to the Wayne County Prosecutor's Office. MLive is awaiting response to a request for comment on the dismissal.

April 23, 2017, Day is accused of two first-degree home invasions in Grosse Pointe Farms at addresses on Madison and Lothrop. No trial dates are scheduled.

April 30, 2017, Day is charged with unlawful use of a motor vehicle after he's accused of stealing in Grosse Pointe Farms.

July 10, 2017, Day was arrested in his home on Moross in Detroit and charged with being a felon in possession of a firearm. Day was referred for a competency exam that is pending.

Charged in connection with an April 2017 home invasion and sexual assault that occurred in Grosse Pointe Woods. Today Judge Kevin Cox declared a mistrial because the defendant is medically unavailable. The new trial date is July 10, 2018 at 9:00 a.m. before Judge Cox.

Charged in connection with an April 2017 home invasion and sexual assault that occurred in Grosse Pointe Woods. Today Judge Kevin Cox declared a mistrial because the defendant is medically unavailable. The new trial date is July 10, 2018 at 9:00 a.m. before Judge Cox.