Former Mexican President Vicente Fox has apologized to Donald Trump for spewing a torrent of insults at him and slamming his plan for a “f—–g wall.”

During an interview with Breitbart News this week, Fox also invited the presumptive Republican presidential nominee to Mexico.

“I’m not going to pay for that f—ing wall,” Fox said in February in response to The Donald’s oft-repeated claim that he will make Mexico pay for the wall to keep illegal immigrants out of the US.

He also labeled the bombastic billionaire “ignorant,” “crazy,” egocentric,” “nasty” and “a false prophet.”

Trump called on Fox to apologize.

“I apologize. Forgiveness is one of the greatest qualities that human beings have, is the quality of a compassionate leader. You have to be humble. You have to be compassionate. You have to love thy neighbor,” Fox told Breitbart News in Santa Monica, California.

“Love your nation. Love the world,” he added. “Yes, I’m humble enough as leadership be, [a] compassionate leader. If I offended you, I’m sorry. But what about the other way around?”

“I don’t think he should follow the strategy of attacking others, offending others, to get to his purpose. There are other ways and means of doing it,” Fox said. “I invite him to come to Mexico and to see what Mexico is all about.”

Meanwhile, Fox joked about Trump’s widely mocked tweet Thursday showing him eating from a taco bowl along with the declaration: “I love Hispanics!”

He told Fox News that he saw that Trump is “now having some enchiladas and some Mexican food — I hope that he will not get indigestion.”