One of the first military companies raised when the war broke out was comprised entirely of Polish immigrants recruited by Brig. Gen. Włodzimierz Krzyżanowski, a veteran of the Greater Poland uprising of 1848. It was moved to New York City and joined with several other mostly-immigrant companies to form the 58th New York Infantry Regiment, officially registered as the Polish Legion. Krzyżanowski was later a brigade commander of the XI Corps at Gettysburg, and after the war was appointed governor of Georgia.