On 16 July 1945, an implosion-type plutonium device was detonated at the Trinity site near Alamogordo, New Mexico. The code name for this device was " The gadget ", and its design was very similar to the Fat Man weapon that was dropped on Nagasaki twenty four days later.