Home

Hafsids

The Hafsids were a Berber dynasty that ruled Ifriqiya, roughly corresponding to present-day Tunisia and parts of eastern Algeria and western Libya, from 1229 to 1574. They traced their name to the Banu Hafs, a Zenata Berber clan, and rose to power after breaking away from the Almohads when Abu Zakariya Yahya declared independence and established Tunis as the political center.

They established a hereditary sultanate with administrative and military structures centered on Tunis, while provincial governors

Culture and architecture flourished under Hafsid patronage. Mosques, madrasas, and fortifications were built, and urban life

From the 13th to the 16th centuries the Hafsid state faced pressures from rival powers, including the

Legacy: The Hafsids played a key role in shaping Maghrebi governance, trade networks, and Islamic scholarship

oversaw
major
towns.
At
their
height
they
controlled
much
of
the
central
and
eastern
Maghreb,
maintaining
trade
links
across
the
Mediterranean
and
integrating
urban
networks
in
coastal
cities
and
inland
towns.
prospered
through
trade
and
scholarship.
The
Al-Zaytuna
Mosque
in
Tunis
remains
a
landmark
of
their
religious
and
educational
patronage.
Marinids
to
the
west
and
Christian
Iberian
kingdoms
along
the
Mediterranean
coast,
which
weakened
its
unity
and
authority.
In
1574
Ottoman
forces
captured
Tunis,
marking
the
effective
end
of
Hafsid
sovereignty;
the
dynasty
persisted
nominally
for
a
time
as
beys
under
Ottoman
suzerainty.
in
the
medieval
period,
contributing
to
the
development
of
Tunisian
statehood
and
the
broader
Mediterranean
world.