“The Last Song” turned into Miley Cyrus and Liam Hemsworth’s forever love story and the novel’s author Nicholas Sparks couldn’t be happier.

The author of the romance novel congratulated Cyrus, 26, and Hemsworth, 28, on Wednesday, shortly after the couple revealed they secretly got married over the weekend. Cyrus and Hemsworth met in 2008 while filming the movie adaptation of the novel.

“This makes me so happy. Congratulations @MileyCyrus and @LiamHemsworth. #TheLastSong,” Sparks tweeted in response to Cyrus’ photo from her wedding day with the caption, “10 years later……”

Cyrus responded to the author’s tweet with three heart emojis.

CLICK HERE TO GET THE FOX NEWS APP

The couple made their relationship public shortly after the 2010 film was released.

Hemsworth proposed to Cyrus in 2012, but they broke off the engagement a year later.

They got back together in 2015, and over the weekend, officially tied the knot in an intimate ceremony at Cyrus’ Nashville home.

The “Wrecking Ball” singer confirmed she was married Wednesday by sharing several black-and-white photos on Instagram.