Who Invented Binary Code?

The binary number system was first invented back around 1679 by Gottfried Leibniz. The modern, or present day binary code was developed by Claude Shannon.