Aaron Sorkin has said that he is quitting television once his current show The Newsroom completes its third season.
The hugely successful writer and show creator told the Los Angeles Times that the drama about a US TV news programme will be his last work in the medium.
"I know the whole 'never say never' stuff," he said. "But I'm pretty certain I'm about to write my last three episodes of television."
Sorkin, who created The West Wing - which is widely regarded as one of the best TV shows ever made - added that despite enjoying his work in the medium, he considers himself to have had more failure than success.
"I've loved every minute I've spent in television," he said. "And I've had much more failure, as traditionally measured, than success in television. I've done four shows, and only one of them was The West Wing."
Sorkin was also behind Sports Night, which lasted two seasons, and Studio 60 on the Sunset Strip, which ran for just one.
He won the Academy Award for Best Adapted Screenplay in 2011 for Facebook drama The Social Network, and is currently working on the Steve Jobs biopic.
The Newsroom begins its final season on Sky Atlantic on Wednesday November 12.