This is the first study of the history of Diophantine analysis and the theory of numbers from Abu Kamil to Fermat (9th-17th century). It thus offers an elaborate and detailed overview on a fundamental chapter on classical mathematical thought and its relation to algebra and Diophantus' Arithmetica.