President Donald Trump’s recent defense of Israel at the United Nations is almost unprecedented, and warrants the appreciation and gratitude of the American Jewish and pro-Israel community.

His defense of Israel at the amoral body so early in his administration has been particularly impressive, given President Barack Obama’s parting shot at Israel with Security Council Resolution 2334.

Even before taking office, Trump was using his future influence to protect Israel. Last December — as genocide raged in Aleppo — President Obama decided to use his last weeks in office not to protect Arab children being murdered with mustard gas but to assail the Jewish state at the UN, breaking America’s long-standing tradition of using its veto power to protect Israel from unfair attacks in the Security Council.

Obama eventually succeeded in helping to pass an anti-Israel resolution, but only after Trump lobbied Egypt into dropping the bid, forcing Obama to turn to other countries to introduce the resolution. Trump then used his Twitter feed as a weapon in defense of the Jewish state. “Stay Strong Israel,” he tweeted, “January 20th is fast approaching!”

Since assuming office, Trump has, along with his tough-as-nails UN Ambassador Nicky Haley, completely reversed the decline of American support for Israel at the UN.

Last month, Haley joined other Trump forces in Washington in blocking UN secretary-general Antonio Guterres from selecting Salam Fayyad, a former Palestinian prime minister, to run the UN mission in Libya. She remarked that “for too long the UN has been unfairly biased in favor of the Palestinian Authority to the detriment of our allies in Israel,” adding that the US “does not currently recognize a Palestinian state or support the signal this appointment would send within the United Nations.”

Just last week, the Trump administration solidified its stance on Israel by pressuring the UN into dismissing a report by rabid Israel-hater Rima Khalef, chairman of the United Nations Economic and Social Commission for Western Asia (UNESCWA). The report, drafted at the request of eighteen Arab countries, depicted Israel as “an apartheid regime that dominates the Palestinian people as a whole” and went on to claim that Israel was “designed” for this purpose. Khalef, who refused to repudiate her Israel-bashing report, has since resigned. Ambassador Haley’s response: “When someone issues a false and defamatory report in the name of the UN, it is appropriate that the person resign.”

In an op-ed for CNN, Richard Roth summed it up perfectly: “Memo to critics of Israel inside the UN system: Prepare to pay a price.”

Showing gratitude is a central Jewish value. This would be a good time for our community to remember that.

Every year, I attend the remarkable AIPAC Policy Conference in Washington, D.C. It’s an incredible spectacle. Close to 20,000 people mill about the massive Washington Convention Center, socializing, networking, and educating themselves in the myriad panels and lectures offered at the mega-event.

There’s even a fully kosher village dining hall that feels roughly the size of an international airport runway. The plenaries rank as some of the largest Jewish events on earth. But what people really come for is the incredible lineup of speakers, which features stars from all across the political spectrum — whether in Congress, global leaders, and most importantly, the Presidential Administration.

This year, though, things might be slightly less incredible.

AIPAC will head into its main event without the participation of the man who lit up the conference last year with one of its best speeches, Donald Trump, who has since gone on to become President of the United States. Vice-President Mike Pence, a long and stalwart friend of Israel, will be representing the president at AIPAC — and will, no doubt, deliver a strong speech.

Twelve months ago, candidate Trump was invited to speak at Policy Conference. And speak he did. Trump delivered a compelling, eloquent, and comprehensive speech on the state of American relations with Israel and how he wouldd work to improve them. At a certain point, the candidate swerved off the planned text and said of Obama’s last months in office: “With President Obama in his final year. Yay!”

The comment earned mass applause.

He later referred to Obama as “maybe the worst thing to happen to Israel.”

The audience, many of whom were growing weary of Obama’s undisguised animus to Israel’s elected leader Benjamin Netanyahu, another conference participant, rose in huge applause.

I was there. Trump electrified the massive arena.

The very next day, AIPAC President Lillian Pinkus introduced Bibi Netanyahu’s televised address with an emotional display at Trump’s comments. Choking back tears, she spoke of how despite her having “preached a message of unity … last evening, something occurred which has the potential to drive us apart, to divide us.” She went on to say that AIPAC’s leadership took “great offense” at the “ad hominem attacks … levied against the President of the United States of America from our stage.”

Pinkus went on to say how “deeply sorry” she was for those “members of the AIPAC family” who had been “deeply hurt.” And, with regard to the applause from the audience, Pinkus said she was “disappointed.”

Pinkus’s response was uneven and questionable. Moments after Trump spoke, Sen. Ted Cruz (R-TX) compared Obama’s nuclear deal with Iran to the 1938 Munich agreement that empowered Hitler. Yet, he was spared.

I love AIPAC. It’s an incredible organization of dedicated Jewish communal volunteers and professionals who are wholly dedicated to the America-Israel relationship. AIPAC is a modern miracle of Jewish organization and commitment, and its Executive Director, Howard Kohr, is a man of humility and a gentleman in every sense of the word.

AIPAC’s official reaction to the reaction to Donald Trump’s speech, however, was out of character for an organization famous for its diplomacy and inclusiveness. Surely President Obama wasn’t going to hold the organization accountable for remarks delivered from its podium by independent speakers. And if AIPAC’s members welcomed Trump’s remarks, that was their prerogative.

And certainly AIPAC celebrates First Amendment rights of self-expression. By any measurable standard, Trump’s speech was extremely compelling, even if it was a sharp critique of President Obama’s policies. An organization is not liable for the words of its guest speakers and therefore cannot censor them. In a political venue in an election year, strong opinions will appear. To try and restrict them would leave the speakers with nothing much to say.

Some at the time claimed that the organization’s decision to criticize candidate Trump was taken to alleviate tension that might arise with an African-American community who might take offense at Trump’s barb at the first black President. But I can’t imagine that was the thinking. The African-American community, like the Jewish community, is not monolithic and can handle criticism of African-American leaders and policies, just as the Jewish community can in relation to its leaders.

Perhaps AIPAC’s leadership believed, as did so many back then, that Trump didn’t have a chance. Better to offend a businessman than the President of the United States and a party that would almost certainly inherit the White House.

Whatever the reason, AIPAC’s reaction was unfortunate, resulting as it did in the marginalization of America’s premier pro-Israel group with the new administration.

Nevertheless, just months into his term, Trump already has the track record to earn AIPAC’s respect and applause. The organization should do everything in its power to mend fences with the president. They ought to take advantage of Police Conference to try and improve what is undeniably their most critical relationship.

It begins with expressing simple regret, followed by sincere thanks.

Rabbi Shmuley Boteach, “America’s Rabbi,” whom the Washington Post calls “the most famous Rabbi in America,” is the international bestselling author of 30 books including his most recent, The Israel Warrior, which he will discuss at the AIPAC National Policy Conference on Sunday, 26 March at 12pm. Follow him on Twitter @RabbiShmuley.