after muhammad finished in mecca, he took his message to medina, where some people learned about him and his followers. they welcomed him into their city, and muhammad wanted them to convert to islam. they agreed, and many of his followers went to medina. this movement from mecca to medina is called the "hijrah". the hijra was also the beginning of the islamic calendar. muhammad stayed behind until all of his people left mecca safely.