The tabloids have been reporting the impending wedding of Jennifer Aniston and Justin Theroux for years, but when it finally happened, they were anything but prepared.

Jennifer and Justin got married in front of about 70 guests in the backyard of their Bel Air mansion on Wednesday. But here's the thing- even their guests were surprised because pretty much all of them thought they were going to a birthday party for Justin, which wouldn't be out of the norm because Jennifer throws a big party for him every year.

The wedding was crawling with celebs, including Courteney Cox and Lisa Kudrow from "Friends", Chelsea Handler, Howard Stern, Jason Bateman, Ellen DeGeneres and Portia de Rossi, Tobey Maguire, Jimmy Kimmel, Sandra Bullock, Orlando Bloom and Rachel McAdams.

A source says Courteney Cox was the last guest to leave, at around 3am. Courteney was actually the maid of honor, and the best man was Lake Bell's husband Scott Campbell.

Jennifer and Justin left yesterday for a honeymoon in French Polynesia, supposedly with Chelsea Handler and some other friends.

Jennifer is 46 and Justin is 43. They met in 2007, on the set of Ben Stiller's movie "Tropic Thunder." Justin was one of the screenwriters, but they didn't start dating for a few years, after doing the movie "Wanderlust" together. They got engaged in 2012.