Legendary director John Singleton is recovering in a hospital after suffering a stroke, according to TMZ.

The 51-year-old screenwriter reportedly checked himself into a hospital earlier this week after experiencing weakness in one of his legs. According to TMZ, Singleton had recently returned from Costa Rica, and the flight might have triggered the stroke.

Singleton is currently rehabbing in the hospital while doctors continue to perform tests.

Singleton’s career started 27 years ago after the release of his directorial debut film Boyz n the Hood. He’s directed iconic films like Poetic Justice, Shaft, 2 Fast 2 Furious, and Baby Boy. On the television side, Singleton has worked on projects like “The People vs. OJ Simpson: American Crime Story,” “Empire,” and “Billions.”

In1992, Singleton became the youngest person and the first African American ever to be nominated for an Academy Award for Best Director (Boyz n the Hood) at the age of 24. Singleton also scored an Oscar nomination for Best Original Screenplay.

After the news spread, Snoop Dogg took to Instagram to garner well wishes for Singleton. “Pray 4 my brother,” he said in the post.

We’ll update this story as more information becomes available.