The U.S. is the only country to have used nuclear weapons on another country, when it detonated two atomic bombs over two Japanese cities of Hiroshima and Nagasaki during World War II. It had secretly developed the earliest form of the atomic weapon during the 1940s under the title "Manhattan Project".