Robert Pattinson says he came really close to being dropped as vampire Edward Cullen.
In a new interview with The New York Times, the 31-year-old actor claims he was almost fired from Twilight, the franchise that made him a household name.
WATCH: Kristen Stewart Recalls Dating ‘Twilight’ Co-Star Robert Pattinson: 'I Wasn't Hiding Anything'
Pattinson explains that while on the set of the first film, which was released in 2008, his agents had to fly in at one point to help him straighten out his behavior.
"I didn't have to kiss anybody's rear end the entire time," he shares. "I don't think I did, anyway."
Looking back at "the height" of his fame, as he refers to it, Pattinson is well aware that taking on the role was risky for an actor trying to be seen as more than just a heartthrob. He calls himself "a sellout," but says it was all worth it.
"I think one of the best things, basically, about being a bit of a sellout is, if you've done five movies in a series, you've had to accept some responsibility for playing the same character," he explains.
However, he still says the experience was "an amazing luxury."
RELATED: Robert Pattinson Says He's 'Curious' About a 'Twilight' Reboot
"[It was] amazing luck, as well, to just have fallen into it with the group of people I worked with on it," he says of his co-stars, like Kristen Stewart (Bella Swan) and Taylor Lautner (Jacob Black).
Back in April, Pattinson responded to rumors of a Twilight reboot, telling Yahoo! he wouldn't be entirely opposed to the idea.
"Really, they're expanding it? So I'll get my own spinoff?" he joked. "I mean, I'm always kind of curious."
"Anything where there's a mass audience -- or seemingly an audience for it -- I always like the idea of subverting people's expectations," he continued. "So there could be some radical way of doing it, which could be quite fun. It's always difficult when there's no source material. But, yeah, I'm always curious."
Pattinson attended the 70th Annual Cannes Film Festival last week with reported fiancée FKA Twigs, where he was promoting his latest film, Good Time.
Click through the slideshow below to see all the best red carpet looks from this year's festival.
PHOTOS: Cannes Film Festival 2017: Star Sightings