It was, however, from Spain, and not from Arabia, that a knowledge of eastern mathematics first came into western Europe. The Moors had established their rules in Spain in 747, and by the tenth or eleven century had attained a high degree of civilisation.