Brazil will move its embassy in Israel from Tel Aviv to Jerusalem, far-right President-elect Jair Bolsonaro said Thursday, making the Latin American giant the largest country after the United States to make the controversial switch.

“As previously stated during our campaign, we intend to transfer the Brazilian Embassy from Tel Aviv to Jerusalem. Israel is a sovereign state and we shall duly respect that,” Bolsonaro tweeted, a move that will defy Palestinians and most of the world.

In interviews, Bolsonaro said Israel should have the right to decide where its capital is located, just as Brazil moved its capital from Rio de Janeiro to Brasilia in 1960.

Israel considers the entire city its capital, while the Palestinians see east Jerusalem as the capital of their future state, with international consensus being that the status of the whole city must be negotiated between the two sides.

Israel occupied east Jerusalem in the 1967 Six-Day War and later annexed it in a move never recognized by the international community.

In December, President Donald Trump reversed longstanding US policy and recognized Jerusalem as the Israeli capital, prompting Palestinian president Mahmud Abbas to boycott his administration.

The embassy was officially transferred on May 14. Guatemala and Paraguay followed suit, though the latter announced last month it would return its embassy to Tel Aviv.

Bolsonaro, 63, who won a run-off election on Sunday, has outraged many with his overtly misogynistic, homophobic and racist rhetoric.

Following his victory, Netanyahu told Bolsonaro he was certain his election “will lead to a great friendship between our peoples and the tightening of links between Brazil and Israel.”

An official in Netanyahu’s office told AFP the Israeli premier was “very likely” to attend Bolsonaro’s inauguration ceremony in January.

Bolsonaro meanwhile plans to make Israel one of his first foreign trips as president, along with the United States and Chile — countries that “share our worldview,” according to the president-elect’s future for chief of staff, Onyx Lorenzon