Playboy founder Hugh Hefner's son, Cooper Hefner, weds 'Harry Potter' actress Scarlett Byrne

Congratulations are in order for Cooper Hefner and Scarlett Byrne!

The son of late Playboy founder Hugh Hefner wed the "Harry Potter" actress at the County Clerk's Office in Ventura, California, on Monday.

"Scarlett and I have made it officially legal and the two of us could not be happier," Hefner announced on Twitter. "Cheers to a life full of love, happiness, adventure, and great purpose, Mrs. Hefner. I very much look forward to planning our wedding celebrations in the months ahead. I love you, Scarlett."

Along with the announcement, Hefner, 28, shared four photos of himself with his new wife, to whom he got engaged in 2015.

"Cooper and I are excited to share that we legally married. We are looking forward to planning our wedding in the coming months where we will celebrate further with our friends and family," Byrne, 29, wrote on Instagram as she shared photo from the clerk's office. "I love you Cooper. I am proud to stand by your side, as your partner, your friend, and your wife. I cannot wait to continue building a life together. My heart is so full and I am so grateful for our love."

Cooper is one of the late Hugh Hefner's four children. His mother is Kimberly Conrad, who was married to the Playboy icon from July 1989 until March 2010.

While he was formerly the Chief Creative Officer of Playboy, Byrne is best known for playing Pansy Parkinson in three "Harry Potter" films.