“Breaking Bad” star Aaron Paul got life advice from Michael Jackson before he became famous.

The actor recalls in the new Details that he met the King of Pop when he was a random plus-one to a bash thrown by Prince Azim of Brunei.

“It was the prince’s 25th birthday . . . six years ago, outside London,” Paul recalls. “We got there and I see . . . like a thousand sheep, surrounding the castle, and I said, ‘Let’s go chase after them.’ So me and the prince and the princesses . . . chased the animals.”

After hitting it off with the royals, Paul committed a party foul by breaking one of Azim’s hovercrafts.

“Nobody else was riding them,” he explains, “but if I have a chance to hovercraft around a castle, I’m going to hovercraft.”

Later, Paul joined the prince in a library where, “He’s sitting on the couch with Michael Jackson, and me and [Michael] end up having this hour-long heart-to-heart about family and upbringings, and I remember, he just put his arm around my shoulder and said, ‘You know, if you’ve had a rough childhood or not, it’s all about forgiveness. Once you realize that, it’s fine. Everything’s fine.’ And I’m like, ‘Michael, you are absolutely right.’ And then I go, ‘Do you want to do a shot?’ And he goes, ‘Sure!’ And I was like, ‘OK, Michael, let’s do this.’ ”