It looks like it was meant to be, right from the start!

Nicholas Sparks, the romance author behind The Last Song, is dishing all about the immediate spark he noticed between Miley Cyrus and Liam Hemsworth.

“They’re both really terrific people, right?” Sparks told ET. “It was great watching them. You know, Liam was unknown… This was his first role, and of course, Miley was a superstar by that time, just so talented in so many ways. Really great to know that, you know, even after the breakup they remained friends.”

RELATED: A Look at Miley Cyrus and Liam Hemsworth’s Complicated Relationship!

miley and liam

The couple, who had recently reconciled, met on the set of the 2009 movie, and, according to Sparks, had an immediate connection.

“I might tend to believe there was little bit of magic involved,” the author said of their meeting.