Was there a confederate flag during the Civil War?

I heard the common confederate flag was not used until 1867.
12 answers 12