The Life of Muhammad: An Overview
5. Muhammad escaped to Medina in 622 A.D., An event known as the hegira; the hegira begins the Islamic calendar.
6. There he established the Umma, the community of Islam; built the first mosque; organized an army; and played the roles of prophet, ruler, judge, commander-in-chief, and prayer leader.