The Good Wife star married his longtime girlfriend in New York City on Friday

By Maggie Coughlan
Updated September 08, 2013 03:00 PM
Astrid Stawiarz/Getty

Looks like Josh Charles has found himself a good wife.

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