The Islamic calendar employs the Hijri era whose epoch was retrospectively established as the Islamic New year of AD 622. During that year, Muhammad and his followers migrated from Mecca to Yathrib (now Medina) and established the first Muslim community (ummah), an event commemorated as the Hijra.