Beji Caid Essebsi — the president and first democratically elected leader of Tunisia, a country in North Africa — died on Thursday at age 92, according to officials.

Essebsi died at a military hospital in Tunis, the capital of Tunisia, his office said.

BORIS JOHNSON OFFICIALLY BECOMES PRIME MINISTER, PLEDGES 'MODERN BRITAIN' CABINET WITH PRO-BREXIT TILT

The 92-year-old was elected to office in 2014 after he left retirement at 88 years old. In the wake of the country's Arab Spring uprising, he presented his centrist movement as a bulwark against rising Islamic fundamentalism and political chaos that rocked Tunisia after the people's people's revolt overthrew a longtime dictator and unleashed similar movements throughout the region.

The leader, heir to Tunisia's founding father, was ultimately unable to bring an enduring calm to the country, which was shaken by economic crises compounded by sporadic terror attacks.

NORTH KOREA FIRES 2 SHORT-RANGE MISSILES INTO SEA, US OFFICIALS SAY

Per the country's constitution, the president of the parliament will assume the presidency for 45 to 90 days while elections are organized.

The bulk of Essebsi's political career came before the Arab Spring, as he was a symbol of Tunisia's independence generation, though he outlived most of his peers who helped the country shake off French rule in 1956.

CLICK HERE TO GET THE FOX NEWS APP

Essebsi recently announced he wouldn't run in the election scheduled for November, saying a younger person should lead the country.

Concerns had been growing about his fitness for office after he was hospitalized three times in recent weeks. His office released a video of the president meeting with the defense minister Monday, and Essebsi was visibly weakened.

The Associated Press contributed to this report.