In 1 Hijri (622 AD), the Charter of Medina came into effect. This significant agreement was created after Prophet Muhammad's arrival in Medina. It aimed to form a peaceful and united community, known as the Ummah. The community included Muslims, Jewish tribes, and other local residents.