Janeane Garofalo: I was married for 20 years and didn’t know it!

Janeane Garofalo  Gary Gershoff/WireImage

With the divorce rate so high in Hollywood, it's nice to see that a celebrity like Janeane Garofalo can have a long-lasting marriage — even though she didn't exactly know about it.

As the comedian revealed on Saturday, she was apparently hitched to her one-time boyfriend, producer Rob Cohen, whose credits include "The Big Bang Theory," for two decades, and only found out about it recently! "Rob and I got married, for real, which we had to have a notary dissolve not 30 minutes before we got here tonight," Garofalo, 48, explained at a New York Comedy Festival event celebrating the early '90s sketch comedy "The Ben Stiller Show." "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 now engaged to Jill Liederman, a producer for "Jimmy Kimmel Live," according to the New York Post. He joked that the split, which took place at a TD Bank branch in midtown Manhattan, was a good move for him financially. "I'm gonna get all of that 'Reality Bites' money!"

Garofalo and Cohen were both writers for "The Ben Stiller Show," and she was also one of its stars. This story should give them lots of good material for the next time they work together!

More celebrity features on Yahoo!:

Photos from the world premiere of 'The Twilight Saga: Breaking Dawn — Part 2'

Outrageous shoes worn by celebrities (photos)

Justin Bieber and Selena Gomez: Is it really over?

Follow omg! on Twitter

Sign up now for the Us Weekly newsletter to get breaking celebrity news, hot pics and more delivered straight to your inbox!

Want stories like these delivered straight to your phone? Download the Us Weekly iPhone app now!