Eminem filed for divorce less than three months after he and his ex-wife, Kim, remarried. ((Associated Press))

Eminem and his high school sweetheart have finalized their second divorce, less than a year after they remarried.

The rap star and his wife, Kim Mathers, told a judge in Michigan they understand the latest divorceis final, and agreed to share custody of their 10-year-old daughter, Hailie Jade Scott.

Neither Eminem, 34,nor Kim, 31,spoke to reporters after the brief court hearing Monday.

The pair remarried on Jan. 14, but Eminem, whose real name is Marshall Mathers, filed for divorce less than three months later.

"We both tried to give our marriage another chance and quickly realized that a wedding doesn't fix the underlying problems," he told a U.S. radio station at the time.

Having grown up together in the hardscrabble Eight Mile section of Detroit, the couple first married in 1999 in a secret ceremony in Missouri, and divorced in 2001.

In 2000, Kim sued Eminem for defamation after he famouslydescribed her fictional killingin his song Kim.

The rapper owns nine Grammy Awards for albums including The Slim Shady LP, The Marshall Mathers LP and The Eminem Show.

He also won an Oscar for the song Lose Yourself, featured in the semi-autobiographical 2002 film 8 Mile, in which he starred.

With files from the Associated Press