Josh Charles Marries Sophie Flack
09/08/2013 AT 03:00 PM EDT
The actor married his longtime girlfriend Sophie Flack on Friday in New York City, his rep confirms to PEOPLE.
A former dancer with the New York City Ballet, Flack, 30, is the author of Bunheads.
Charles, 41, stars as lawyer Will Gardner on The Good Wife.
On Aug. 31, Flack posting a snapshot of a tasty-looking pasta dinner to Instagram.
"Who needs a penis hat when you have this? #bachelorette2013," she wrote.
Reporting by MONICA RIZZO