We present the Dark Energy Camera (DECam) discovery of the optical counterpart of the first binary neutron star merger detected through gravitational-wave emission, GW170817. Our observations commenced 10.5 hr post-merger, as soon as the localization region became accessible from Chile. We imaged 70 deg 2 in the i and z bands, covering 93% of the initial integrated localization probability, to a depth necessary to identify likely optical counterparts (e.g., a kilonova). At 11.4 hr post-merger we detected a bright optical transient located , in the luminosity range expected for a kilonova. We identified 1500 potential transient candidates. Applying simple selection criteria aimed at rejecting background events such as supernovae, we find the transient associated with NGC 4993 as the only remaining plausible counterpart, and reject chance coincidence at the 99.5% confidence level. We therefore conclude that the optical counterpart we have identified near NGC 4993 is associated with GW170817. This discovery ushers in the era of multi-messenger astronomy with gravitational waves and demonstrates the power of DECam to identify the optical counterparts of gravitationalwave sources.