Actress/comedienne Janeane Garofalo was married for 20 years without knowing it after drunkenly tying the knot in Las Vegas with a boyfriend in the 1990s.

The West Wing star exchanged vows with The Big Bang Theory producer Rob Cohen at a drive-through chapel two decades ago in Sin City, but they didn't realise the wedding was for real until the Tv executive started making plans to marry his new fiancee.

The pair's divorce finally came through on Saturday (10Nov12), shortly before they met up at the New York Comedy Festival as part of a reunion of workers on The Ben Stiller Show - the actor's 1990s comedy sketch series.

Garofalo tells New York Post gossip column Page Six, "Rob and I got married, for real, which we had to have a notary dissolve (a dissolution of marriage) not 30 minutes before we got here tonight. We were married for 20 years until this evening... We got married drunk in Vegas... We dated for a year, and we got married at a drive-through chapel in a cab. (We thought) you have to go down to the courthouse and sign papers and stuff, so who knew? We were married, and apparently now that (Rob) is getting married for real, his lawyer dug up something."

Cohen is engaged to Jill Leiderman, a producer on Tv talk show Jimmy Kimmel Live.