Chess has its origins in sixth century India, where, known as Chaturanga, it took the form of a battle between two Indian armies made up of elephants, horses, chariots and infantry, led by a king and his vizier or advisor. Chess grew in popularity in the Islamic world and became known as Chatrang in Persia and Shatranj in Arabia. It reached Europe, probably through Spain, in the ninth or tenth century with the same rules and pieces. The game spread quickly throughout Europe, and over the following six to seven hundred years the rules were modified, the names of the pieces changed, and the shape of the pieces themselves evolved. By the seventh century the elephants, horses, chariots, infantry, kings and viziers of Chaturanga became recognisable as the bishop, knight, rook, pawns, king and queen of the modern game.