Credit: SGranitz/WireImage

Filmmaker Gary Winick, who directed flicks like the Jennifer Garner vehicle 13 Going on 30, died Sunday at age 49.

"He was suffering from brain cancer for quite some time, and it ultimately metastasized throughout his body," his manager Rosalie Swedlin, told The Hollywood Reporter.

Swedlin added that even after his diagnosis, Winick was able to direct last year's Letters to Juliet starring Amanda Seyfried.

"It was a battle that we thought he had won, and ultimately they just didn't get it all," Swedlin said.

Before making mainstream romantic comedies, Winick got his start on the indie circuit. In 1999, he founded InDigEnt, a company that produced more than 19 independent films, including Katie Holmes' Pieces of April and Tadpole starring Sigourney Weaver and Bebe Neuwirth.

Winick's death was first announced on Twitter Sunday by fellow indie filmmaker Matt Dentler, who wrote: "Gary Winick died today. Too late to make the Oscars tribute, but way too early. He leaves behind a legacy of supporting indie film and NYC."