The Koszta Affair (1853) was the name applied to a diplomatic episode between the United States and the Austrian Empire involving the rights in foreign countries of new Americans who were not yet fully naturalized.
In July 1852, he made a declaration under oath of his intention to become a citizen of the United States and, at the same time, renounced all allegiance to any foreign power.
Under instructions from the American Minister at Constantinople, Captain Duncan Ingraham of the United States sloop-of-war Saint Louis, which was then lying in Smyrna harbor, on July 2, 1853, threatened to open fire on the Huszar if Koszta was not surrendered to him by four o'clock.
The State Department's position in relation to the status of immigrants who were not fully naturalized has been endorsed by various well-known authorities on international law.
The United States Congress passed a joint resolution of thanks to Captain Ingraham and decorated him with the Congressional Gold Medal, in commemoration of his services.