The Trinity test was the first detonation of a nuclear weapon, conducted by the United States on July 16, 1945, in the Jornada del Muerto desert near Socorro, New Mexico. This test was part of the Manhattan Project and preceded the atomic bombings of Hiroshima and Nagasaki.