"Love is beautiful, kind and love is patient. Twenty years patient, wrote Lopez in a message.

Jennifer Lopez and Ben Affleck got married in Las Vegas

Lopez announced their marriage Sunday in her newsletter for fans with the heading "We did it."

Lopez initially made their engagement public in April on the same newsletter, "On the J Lo."

The couple flew to Las Vegas on Saturday, stood in line for their license with four other couples.

Lopez and Affleck first met on the set of "Gigli" in 2002.

They starred together in 2003's Gigli and 2004's Jersey Girl. That time, they became engaged but never wed.

But in 2004, Lopez announced the couple had split.

Later Affleck married Jennifer Garner in 2005 with whom he shares three children..

 Lopez was married to Ojani Noa, Cris Judd and singer Marc Anthony before.

The couple, who began dating in 2002 and then split for 17 years, rekindled their relationship last year.

It was the best possible wedding we could have imagined, the dream comes true, the pair said.