With his recognition of Jerusalem as Israel’s capital on Wednesday, US President Donald Trump gave a Hanukka gift to the Jewish people. But he also gave a Christmas gift to the American people.

Trump’s gift to Israel is not merely that 68 years after Israel declared Jerusalem its capital, the US finally recognized Israel’s capital.

In his declaration, Trump said, “Israel has made its capital in the city of Jerusalem, the capital the Jewish people established in ancient times.”

By stating this simple truth, Trump fully rejected the anti-Israel legacy of his predecessor Barack Obama.

In his speech in Cairo in 2009, Obama intimated that Israel’s legitimacy is rooted in the Holocaust, rather than in the Jewish nation’s millennial attachment to the Land of Israel. Whereas the Balfour Declaration and the League of Nations Mandate rooted the Jewish people’s sovereign rights to the Land of Israel in its 3,500-year relationship with it, Obama said that Israel is nothing more than a refugee camp located in an inconvenient area. In so doing, he gave credence to the anti-Israel slander that Israel is a colonialist power.

By asserting the real basis for Israel’s legitimacy, Trump made clear that the Jewish people is indigenous to the Land of Israel. He also made it US policy to view Israel’s right to exist, like its right to its capital city, as unconditional.

Trump’s extraordinary gift to Israel was an act of political and moral courage. It was also a stroke of strategic brilliance.

To understand why it was both courageous and wise, consider the political, institutional and geopolitical contexts in which Trump acted.

Politically, Trump made his declaration in a poisonous political environment at home.

The Democrats responded to Trump’s victory last year over Hillary Clinton by seeking to delegitimize his victory. To this end, they chose to oppose everything that he says and does.

And so, despite their long-held and recently voiced support for US recognition of Jerusalem as Israel’s capital, leading Democratic senators including New Jersey’s Cory Booker and California’s Diane Feinstein condemned Trump’s declaration.

The Democrats’ rejection of Trump’s move was an astounding act of hypocrisy. But it was also predictable.

Trump had to know the Democrats would oppose him. And he also had to know that in their opposition, they would empower US allies in Europe and the Arab world to publicly condemn his move in a manner they would be loath to do if the Democrats supported him. And still, despite this sure knowledge, Trump took action.

And it wasn’t only the Democrats, the Europeans and the Arabs Trump willingly opposed. His chief opposition came from within his own government.

Since 1949, the State Department has driven US policy on Israel and on the Middle East as a whole. And since 1949, the State Department’s Israel policy has refused to recognize Jerusalem as Israel’s capital.

Even worse, it worked to undermine any international support for Israel’s sovereign rights to Jerusalem.

For instance, a 1962 State Department memo to then-president John F. Kennedy’s national security adviser McGeorge Bundy laid out the law on Jerusalem.

The memo told Bundy that not only did the State Department oppose Israel’s decision to make Jerusalem its capital. It detailed the efforts the State Department had made over more than a decade to lobby every government that opened diplomatic ties with Israel not to recognize Jerusalem as Israel’s capital and not to locate its embassy in Jerusalem.

Over the years, various presidents have taken issue with the State Department’s policy toward Israel. These disputes have been informed both by genuine disagreement with Foggy Bottom’s institutional hostility toward Israel and by political concerns. The American people have been supportive of Israel, and that support has only grown over the years.

But despite their genuine disputes and political concerns, no president who opposed State Department hostility toward Israel seized control over US Israel policy from the State Department.

That is, no one did until Trump did.

On Wednesday, in a very public way, Trump wrested control over US policy toward Israel generally, and Jerusalem specifically, from the State Department. The consequences of Trump’s seizure of the reins over US Middle East policy are enormous, and entirely positive for the US itself. Indeed, two in particular are great gifts to the American people.

In his declaration, Trump said, “Today we finally acknowledge the obvious. That Jerusalem is Israel’s capital. This is nothing more or less than a recognition of reality. It is also the right thing to do. It’s something that has to be done.”

Under State Department control for 68 years, US foreign policy relating to Israel specifically and the Middle East as a whole was made in deliberate defiance of reality. In the case of Jerusalem, rather than recognize the plain fact that Jerusalem is Israel’s capital city, the State Department insisted on pretending that Israel has no capital. This position was a central component of an overall US Middle East policy that the State Department similarly based on a defiant rejection of observable reality.

So it happened that for decades the US ignored the multiple, systemic pathologies of the Arab and Islamic world and opted instead to predicate its policies on the false assumption that the problems of the Middle East are rooted in Israel’s refusal to sufficiently appease the Arab world.

By rejecting the State Department’s position on Jerusalem, and by noting that its position is rooted in a rejection of reality, Trump initiated a new course for US Middle East policy rooted in reality for the first time in three generations.

The salutary implications of a reality-based policy for America are as self-evident as the fact that Jerusalem is Israel’s capital.

This brings us to the second positive advantage America gained from Trump’s Jerusalem declaration.

Over the span of decades, a US president’s power to determine foreign policy was measured by two things: the amount of daylight between White House statements and traditional State Department positions, and the disparity between US foreign policy positions and the positions of Western European governments and the EU. The greater the distance between White House positions and those of the State Department and Europe, the more power the president held over US foreign policy.

The only exception to this rule was Obama. Like the State Department, and like Europe, Obama’s foreign policy was predicated on the need for the US to appease its enemies at the expense of its allies – first and foremost Israel. It was also based on the State Department’s long-held assumption that the US should align its policies with Europe. Given his convictions, Obama could advance his agenda in harmony with the State Department.

During Obama’s tenure, US allies and enemies alike were conditioned to believe that the US would not challenge them and that the State Department controlled US foreign policy. The Europeans came to believe that despite their military and economic dependence on the US, it was the US that had to take their policies into account when it fashioned its foreign policies – and not the other way around. This was certainly the case in the Middle East where Obama eagerly joined them in appeasing Iran and turning the screws on Israel.

As for America’s enemies, Obama and his State Department made it clear to the North Koreans and Iranians that American threats were a joke. The US would do nothing to seriously challenge them. And in the interests of appeasing them, the US was willing to sell out all of its allies.

With this track record, it was clear that Trump would need to take dramatic action to show US allies and enemies alike that the rules of the game had changed in Washington.

Trump’s recognition of Jerusalem did the job.

By recognizing Jerusalem as Israel’s capital in defiance of Europe and the Arabs and in the course of wresting control of Middle East policy from the State Department, Trump showed US allies and enemies alike that he is in charge. And he is willing to act even when doing so provokes US enemies to threaten retaliation, when he believes that his action advances US interests.

Trump’s move wasn’t merely strategically brilliant. It was also a political masterstroke.

Consider the liberal Union for Reform Judaism’s contradictory responses to his recognition of Jerusalem. In the lead-up to Trump’s declaration, URJ President Rick Jacobs condemned Trump’s anticipated move which he claimed would harm chances for peace between Israel and the Palestinians.

Jacobs’s statement – which was supported by key groups within the Reform movement – effectively divorced Reform Judaism from Zionism. By giving the PLO a veto over Israeli sovereignty in Jerusalem, Jacobs said that the Reform movement thinks PLO claims to Jerusalem are stronger than Jewish claims.

This self-evidently anti-Zionist position apparently didn’t go down well with the Reform rank and file. Because less than 24 hours after Trump gave his speech, the URJ issued a new statement praising Trump’s move.

And the URJ leaders aren’t the only ones with egg on their face.

Trump risked political support in the opinion polls by deepening US support for Israel in the face of strident opposition from the Democrats, the State Department, the media, the Europeans and the Arabs because he believed it was the right thing to do.

And as it works out, it was also an astute, if incredibly gutsy political move.

By standing up to the Democrats who just months ago called for him to take the very actions he took, but now opposed them because it was Trump adopting them, Trump exposed the likes of Booker and Feinstein as hypocritical opportunists. At the same time, he took ownership of a policy of supporting Israel that enjoys broad and deep public support.

To sum up then, by recognizing Jerusalem as Israel’s capital, Trump made clear that US support for Israel is not conditioned on anything. Israel, the Jewish state, is supported by the US because it deserves US support as an allied democracy.

Trump strengthened himself against his political opponents by taking ownership of a deeply popular foreign policy position.

He took control of US foreign policy from a State Department that opposes his policies. He made reality, rather than the defiance of reality, the foundation of US Middle East policy.

He put US allies and enemies on notice that he is calling the shots in US foreign policy. And he took a large step toward restoring US credibility as a superpower.

Oh, and he accomplished all of these things without spending a dime.

For his gift to Israel, Trump now enters the pantheon of Israel’s friends in the annals of Jewish history.

For his gifts to America he has taken his place among the most astute American statesmen.

And for his political and economic mastery, he enters the ranks of the geniuses of American political history.