Good Wife star Josh Charles wed his longtime girlfriend, Sophia Flack, in an intimate NYC ceremony on Friday, Sept. 6 Credit: John Lamparski/WireImage

Josh Charles is hitched! The Good Wife actor married longtime girlfriend Sophie Flack on Friday, Sept. 6, his rep confirms to Us Weekly. The two tied the knot in an intimate ceremony at a private residence in Manhattan, followed by a dinner at upscale Italian eatery Il Cantinori.

Charles, 41, and his new bride have remained quite private throughout their relationship. The couple walked the red carpet together at the 63rd Primetime Emmy Awards in September 2011. They also attended the wedding of Alec Baldwin and Hilaria Thomas in June 2012.

Flack is most known for writing the 2011 novel Bunheads (no relation to the ABC Family series), which was inspired by her experience dancing in the corp de ballet. She was a professional ballet dancer for nine years.

Baltimore native Charles -- also known for his work on Sports Night and 80s films like Don't Tell Mom the Babysitter's Dead and Dead Poet's Society -- is currently filming The Good Wife's fifth season in NYC.