Former Detroit Lions cornerback Stanley Wilson Jr. died after collapsing at Metropolitan State Hospital in Los Angeles County earlier this month, TMZ reported Wednesday. He was 40 years old.

He was transferred to the medical center on February 1, according to the report. He was arrested on vandalism charges in August and has been in police custody ever since.

He reportedly collapsed and died during admission to the medical center.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

stanley wilson (Getty Images/File)

He was suspected of breaking into a home in the Hollywood Hills of Los Angeles and trespassing on the property, according to the report. The suspect is also believed to have bathed in the indoor fountain on the property.

Prosecutors said Wilson was found incompetent to stand trial, which resulted in his transfer to the mental health care facility.

HOT SUPER BOWL MIC CAPTURES JASON AND TRAVIS KELCE WITH MOTHER DONNA ON THE FIELD: ‘I LOVE YOU MOM!’

The Detroit Lions selected Wilson in the third round of the 2005 draft. He went on to play two seasons with the Lions before suffering an Achilles tear in a preseason game.

Ultimately, he was unable to recover from the injury and ended his football career.

Wilson’s father, Stanley Wilson Sr., also played in the NFL. He finished his career with 89 tackles and a forced fumble.

Stanley Wilson #31 of the Detroit Lions celebrates on the field during the game against the Dallas Cowboys at Texas Stadium at Texas Stadium on December 31, 2006 in Irving, Texas.

Stanley Wilson #31 of the Detroit Lions celebrates on the field during the game against the Dallas Cowboys at Texas Stadium at Texas Stadium on December 31, 2006 in Irving, Texas. (Ronald Martinez/Getty Images)

The cause of death was not immediately known, but authorities are expected to perform an autopsy. At this point in the investigation, there is no suspicion of foul play.

Wilson was previously arrested in connection with a 2016 home invasion. He was shot during the attempted home invasion in Portland and was allegedly naked at the time.

Bernard Berrian #80 of the Chicago Bears misses a sack as Stanley Wilson #31 and Fernando Bryant #25 of the Detroit Lions defend on September 30, 2007 at Ford Field in Detroit, Michigan.  The Lions defeated the Bears 37-27.

Bernard Berrian #80 of the Chicago Bears misses a sack as Stanley Wilson #31 and Fernando Bryant #25 of the Detroit Lions defend on September 30, 2007 at Ford Field in Detroit, Michigan. The Lions defeated the Bears 37-27. (Jonathan Daniel/Getty Images)

In January 2017, Wilson was arrested for allegedly walking through a neighborhood with no clothes on. Another arrest occurred the following month that also stemmed from a home invasion.

CLICK HERE TO GET THE FOX NEWS APP

Before playing through the ranks of professional soccer, Wilson spent four seasons with the Stanford soccer team. It is not clear if Wilson is survived by a spouse or children.

Fox News Digital reached out to the Lions for more information but did not immediately hear back.