Science, in essentially its modern form and related to it by direct transmission, was invented in the 11th century CE by al-Haytham working in Egypt in service of investigations recorded in his book Optics, that is explicitly acknowledged by the first European proto-scientists as defining conditions for their work.