Hilary Duff and Matthew Koma celebrated their three years of marriage by dedicating loving messages to each other.

"Matthew. I love you so much. Happy 3 years! I don't know if you knew what you were getting into or that you weren't going to sleep or sit down for the next 5-10 years but I think for the most part you're pretty happy about it," Duff wrote on her Instagram page Wednesday. "Our life is so full and I'm over the top grateful for the guy that I got to do all this madness with."

The "Lizzie McGuire" alum also shared a set of photos, which included clicks from her and Koma's wedding day, a mirror selfie and images featuring their children.

Koma also took to his Instagram page and shared a couple of happy photos from the special day. The musician and producer thanked Duff for "being so hot" and for allowing him to do silly stuff that spice up their relationship.

"We crushed 3 years @hilaryduff Anyone who says marriage is easy, hasn't been married or is raging slightly too high a microdose. But the work is the best part," Koma began his lengthy note. "The beauty truly is in going deeper with someone than you've ever been before and navigating an invisible map that only the two of you can trek. The hard stuff makes the great stuff even greater."

Koma concluded his message by giving Duff permission to leave him for Harry Styles.

"Thank you for letting me keep 6 beverages on my nightstand. Thank you for traveling to see Dawes with me in foreign countries. Thank you for raising our very cute and very unstable three kids. Thank you for being so hot and letting me do things to the body. It's so sick," he said.

"When you leave me for Harry, I'll totally understand and I hope our kids get his fashion sense and that he loves going to sleep at 6pm as much as you. You're not allowed to look at pictures of Matt Healy tho," he added.

Duff and Koma began dating in 2017 and got married in 2019. The "Dignity" artist and the Eve 6 band member share two kids — 4-year-old Banks and 1-year-old Mae. Duff also has 10-year-old Luca from her previous relationship with former ice hockey player Mike Comrie.

Hilary Duff
BEVERLY HILLS, CALIFORNIA - JANUARY 06: Matthew Koma and Hilary Duff attend InStyle And Warner Bros. Golden Globes After Party 2019 at The Beverly Hilton Hotel on January 06, 2019 in Beverly Hills, California. Leon Bennett/FilmMagic