El Salvador’s President Nayib Bukele registered as his party's candidate to seek re-election in the country's presidential vote next year, a decision already raising eyebrows Friday because the constitution prohibits it.

Bukele and his running mate, current vice president Félix Ulloa, were the last to register before the deadline at midnight Thursday. In typical Bukele fashion, the last-minute registration became a spectacle, coming amid rumors the president had been hospitalized. Instead, he exited electoral offices to a crowd of cheering supporters.

"We are ready to change whatever we have to change to be able to insert ourselves even more in the community of nations, but always respecting our sovereignty and independence," said Bukele, speaking through a megaphone.

EL SALVADOR GRADUALLY FILLS NEW MEGA PRISON WITH ALLEGED GANG MEMBERS

El Salvador’s Constitution prohibits reelection, but in 2021, the country’s Supreme Court of Justice ruled that one of its articles allows the president — who serves a five-year term — to run for reelection once. Bukele announced he would seek a second term with the New Ideas Party a year later.

Thousands of Bukele’s supporters had gathered early Friday in front of the Supreme Electoral Tribunal and did not leave until the president came out to shake their hands, amid shouts of "Reelection, reelection" and "Nayib, my friend, the people are with you."

U.S. Assistant Secretary for Western Hemisphere Affairs, Brian A. Nichols, who was visiting El Salvador, took to a local television talk show Friday morning to raise questions about Bukele's decision, while insisting it is not for other countries to decide.

Nayib Bukele

El Salvador's president, Nayib Bukele, waves during his inauguration ceremony at Gerardo Barrios Square outside the National Palace in downtown San Salvador, on June 1, 2019. (Photo credit should read OSCAR RIVERA/AFP via Getty Images)

"There has to be a broad debate about the legality and legitimacy of the election, but it is a debate for Salvadorans," said Nichols, ahead of a meeting with Bukele.

Salvadorans "will have the opportunity to express their will at the polls and they can decide whether they agree or disagree with that process," he told reporters afterward.

According to several polls, Bukele would win the reelection by a wide margin. He has maintained soaring popularity numbers for his heavy-handed crackdown on the country’s powerful street gangs.

Bukele, who pointed out that some "developed countries" might disagree with his decision to run, insisted, "They are not the ones who will decide, but the Salvadoran people. The Salvadoran people will decide if they want to continue building this new El Salvador, or if they want to return to that country that was known for gangs and death."

Ulloa recently explained that once Bukele’s candidacy is made official, the president would have to ask Congress for permission to leave office before Dec. 1, six months before the beginning of the new presidential term. Congress would then elect an interim replacement.

EL SALVADOR PASSES NEW RULES ALLOWING MASS TRIALS FOR ACCUSED GANG MEMBERS IN CRACKDOWN EFFORT

Constitutional lawyers, like Abraham Abrego with the human rights organization Cristosal, argue that the president's reelection bid is illegal.

"Immediate reelection is expressly prohibited by six constitutional articles, as well as the spirit of the 1983 Constitution, which established a five-year presidential term without the possibility of immediate reelection," said Abrego.

Other lawyers, although recognizing that reelection is prohibited, point out that the endorsement of the Supreme Court makes it a null issue, adding that if the electoral tribunal considers that it is an illegitimate application, the final decision would revert back to the same chamber of the Supreme Court, which already ruled in favor of Bukele's bid.

The prospect of reelection is not the only novelty coming to El Salvador's February presidential race. Remote, online voting from abroad will be allowed for the first time, and in-person electronic booths will be available in 29 countries, with most booths in the U.S.

CLICK HERE TO GET THE FOX NEWS APP

A total of 6.1 million Salvadorans are eligible to vote, including thousands living abroad, who will also be able to run for public office.