Mario Lopez and Courtney Mazza

Sorry, ladies! Mario Lopez is off the market.

The X Factor co-host wed girlfriend Courtney Mazza Saturday in Mexico, Us Weekly reports.

Photos: Everybody's posing nude! Check out Rihanna and other stars who've bared all

The couple's 2-year-old daughter, Gia, served as flower girl and wore a dress that matched her mom's. Guests included Eva Longoria, who tweeted about traveling down south for the nuptials.

Lopez and Mazza's big day was also taped for a TLC wedding special, Mario and Courtney's Wedding Fiesta, set to air on Dec. 8. The two also co-starred in the VH1 reality show Saved by the Baby back in 2010 to document the impending birth of their daughter. Lopez, 39, and Mazza met in 2008 while co-starring in the Broadway revival of A Chorus Line.

This is the first marriage for Mazza and the second for Lopez, whose 2004 marriage to Ali Landry was annulled weeks later.