Ibn Sahl was an Arabian Mathematician and optics engineer associated with the court of Baghdad. In 984 he wrote a treatise On Burning Mirrors and Lenses in which he set out his understanding of how curved mirrors and lenses bend and focus light. Ibn Sahl is credited with discovering the law of refraction, usually called Snell's law. In 1621, Willebrord Snellius (Snel) derived a mathematically equivalent form, that remained unpublished during his lifetime.