The Midwest medical examiner's office will perform an autopsy on Prince Friday, following his death at his Minnesota compound, Paisley Park, Thursday. He was 57.

No cause of death has been released, but the the Carver County Sheriff's office is investigating the death after he was found unresponsive in the elevator of his home by an unidentified male who called 911 Thursday.

Police and medical personnel pronounced Prince dead at 10:07 a.m. April 21 after over 20 minutes of CPR. He'd been hospitalized recently after a medical emergency forced his private plane to make an emergency landing, but he then appeared at a concert the following day. Sources tell TMZ he had been battling the flu.

Prince: A life in photos

His rep told, "It is with profound sadness that I am confirming that the legendary, iconic performer, Prince Rogers Nelson, has died at his Paisley Park residence this morning at the age of 57. There are no further details as to the cause of death at this time."

Born Prince Rogers Nelson in Minneapolis, Prince wrote his first song at age 7. He released his debut album, For You, in 1978.

Remember other celebrities we've lost this year

In the early 1980s, Prince began recording with his side project, the Time. In the mid-1980s, he christened his band the Revolution and in 1991, renamed his backing musicians the New Power Generation. In 1992, coinciding with the release of his 12th album, he began identifying himself by an unpronounceable symbol - a combination of the symbols for male and female - rather than his name.

Throughout his decades-long career, Prince released 39 albums, had five number-one singles, was nominated for 30 Grammy awards and won seven. His most popular songs included "When Doves Cry," "Let's Go Crazy," "Little Red Corvette" and "Kiss." He also won an Oscar for the score to the film Purple Rain, and gave an iconic Super Bowl halftime performance in 2007. In addition, Prince was the first artist to release an entire album (1997's Crystal Ball) exclusively on the Internet. He was inducted into the Rock and Roll Hall of Fame in 2004.

Prince released his final album, HITnRUN Phase One, in September 2015.

More on this story as it develops ...