When was the Atomic Bomb Invented?

The atomic bomb was first tested on on July 16th, 1945 near Alamogordo, New Mexico. Albert Einstein said on this death bed that his role in the creation of the bomb was the biggest mistake of his life.