 In the 5th century, the Quraish took control of Mecca, and became skilled merchants and traders.In the 6th century, they joined the lucrative spice trade, since battles elsewhere were diverting trade routes from dangerous sea routes to more secure overland routes.The Byzantine Empire had previously controlled the Red Sea, but piracy had been increasing.