Christiaan Huygens wrote the first treatise on probability theory, De ratiociniis in ludo aleae ("On Reasoning in Games of Chance", 1657).