The flag of the United States from 1861-1863 was adopted on July 4, 1861 and had 34 stars and 13 stripes. It was used after Kansas became the 34th state on January 29, 1861, and during the early years of the American Civil War between the Union and the Confederacy.