“The X Factor” judge married his longtime girlfriend Courtney Mazza in his native country on Saturday, E News is reporting.

The newlyweds tied the knot at Lopez’s friend vacation home in Punta Mita, Mexico.

E News! Says that a Catholic priest wed the love birds in a traditional ceremony at sunset.

The publication adds that Lopez’s BFF (Best Friend Forever) Eva Longoria was a bridesmaid and walked down the aisle. Lopez and Mazza’s 2-year-old daughter, Gia, also walked down the aisle as a flower girl.

150 guests attended the ceremony.

In January of last year Mario Lopez got down on one knee with some serious bling and proposed to Mazza over the New Year’s festivities in Ixtapa, Mexico.

"We took a walk alone as the sun was setting," Lopez told entertainment publication US Weekly.

"I told Courtney that I wanted the mother of my children to have their last name. She was silent at first from shock, then she leaped for joy and did a little jete!"

"Besides our daughter's birth, this was the best moment of my life!" Mazza added.

In a recent interview with Fox News Latino, Lopez said that even though he was busy with the wedding preparations and hosting “The X Factor” he always made time to “break a sweat every day” and stay healthy.

“Everyone asks me, 'What type of workout should I do?' and I say anything that you are going to be consistent with, whether it is dancing or going to the gym or running, boxing, whatever the case may be. Try to be consistent about it.”

E News! published a photo of a very happy and fit Lopez as he said his vows to Mazza over the weekend.

Mazza wore a long white gown. The two were in front of the priest as Lopez has a smile from ear to ear.