"Good Will Hunting," released in 1997, was Affleck and Damon's big break. Set in their hometown, Damon is a self-taught genius, Will Hunting, who works as a janitor at MIT. He connects with Dr. Sean Maguire, played by Robin Williams, who urges him to seek more for his life. Affleck plays Will's friend Chuckie Sullivan, who wants his friend to reach for more and move on. Minnie Driver plays Will's love interest Skylar and Affleck's brother Casey also appears in the film.
Affleck and Damon wrote the script together and had to fight hard to be cast in the film. They ended up winning the Academy Award for best screenplay, written directly for the screen, for their efforts, and Williams won best supporting actor.