During Korean War Dwight Eisenhower openly threatened the Chinese with use of nuclear weapons, authorizing a series of bomb tests labeled Operation Teapot. Nevertheless, he left the Chinese communists guessing as to the exact nature of his nuclear response. This allowed Eisenhower to accomplish all of his objectives—the end of this communist encroachment, the retention of the Islands by the Chinese nationalists and continued peace.
Source: Wikipedia