His intention? He was trying to develop a "blood cleanser" which could be sold in drugstores.
[Because drinking straight gin impaired the efficiency of naval operations, British naval surgeon T. O. Gimlette diluted the ship's supply with lime juice (for protection against scurvy) -- thereby creating what we now call the gimlet.]