Famed 'Boyz n the Hood' director John Singleton dies at 51

PHOTO: Director John Singleton attends the 2017 Creative Arts Emmy Awards, Sept. 9, 2017 in Los Angeles.PlayJason Laveris/Getty Images, FILE
WATCH Director John Singleton discusses his new BET series 'Rebel'

Academy Award-nominated director John Singleton has died, his family confirmed to ABC News. He was 51.

The "Boyz n the Hood" director suffered a stroke and had been hospitalized for nearly a week.

"We are sad to relay that John Singleton has died," his family said in a statement to ABC News. "John passed away peacefully, surrounded by his family and friends."

The family had announced earlier Monday that they intended to take the director off life support today.

"This was an agonizing decision, one that our family made, over a number of days, with the careful counsel of John’s doctors," the family said in a previous statement. "It is, for us, heartbreaking ... We are grateful to his fans, friends and colleagues for the outpouring of love and prayers during this incredibly difficult time."

PHOTO: John Singleton with his children, Justice, Cleo and Massai during the ceremony honoring with a star on the Hollywood Walk of Fame, in Hollywood, Calif, Aug. 26, 2003. Gregg Deguire/Getty Images, FILE
John Singleton with his children, Justice, Cleo and Massai during the ceremony honoring with a star on the Hollywood Walk of Fame, in Hollywood, Calif, Aug. 26, 2003.

Singleton struggled with hypertension, according to his family.

PHOTO: Director John Singleton poses for a portrait in Los Angeles, in 1991. Aaron Rapoport/Getty Images, File
Director John Singleton poses for a portrait in Los Angeles, in 1991.

Singleton's directorial debut of "Boyz n the Hood" earned him two Oscar nominations and made him the first African American to earn the nod for best director. He also directed "Higher Learning," "Rosewood" and "Poetic Justice."

"John loved nothing more than giving opportunities to new talent and his films came to be known for career-making roles with actors who the industry would come to embrace; talents such as Tupac Shakur, Regina King, Cuba Gooding Jr., Terrence Howard, Ice Cube, Tyrese and Taraji P. Henson," the family said.

Several friends, collaborators and colleagues posted on social media about the loss.

Iconic basketball star and businessman Magic Johnson wrote, "John is admired for putting a lot of people of color to work throughout his career. Our prayers are with his children and family members. He will be sorely missed."

Sam Jackson added, "He blazed the trail for many young film makers, always remaining true to who he was & where he came from!!! RIP Brother. Gone Way Too Soon!"

Fellow director Jordan Peele added, "RIP John Singleton. So sad to hear. John was a brave artist and a true inspiration. His vision changed everything."

Singleton is survived by his mother, Sheila, his father, Danny and his six children.

ABC News' Christina Carrega contributed to this report.