John Singleton, the first African American nominated for an Academy Award for Best Director — whose decorated career spanned nearly three decades in Hollywood — has died … TMZ has learned.

A Singleton family rep says he passed “peacefully, surrounded by his family and friends.” The news comes more than a week after the famed director suffered a massive stroke. As we first reported … John’s mom, Shelia Ward, filed legal docs asking the judge to appoint her temporary conservator because he was “unable to properly provide for his personal needs for physical health, food, clothing, or shelter.” He had been in a coma in ICU at the Cedars-Sinai Medical Center in L.A.

The “Boyz n the Hood” director suffered the stroke 12 days ago after returning from Costa Rica and experiencing problems with his legs. He checked himself into Cedars where he suffered a stroke on April 17 in his hospital room.

https://www.instagram.com/p/BweY50Un8ev/?utm_source=ig_embed

John directed 9 films … including “Poetic Justice,” “Higher Learning,” “Four Brothers” and “2 Fast 2 Furious.” He also has several high-profile producer credits to his name … including the critically acclaimed film “Hustle & Flow.” He co-created the FX hit series “Snowfall” and directed episodes of “The People v. O.J. Simpson: American Crime Story” as well as “Empire” and “Billions.”

More at TMZ