How many stars were on the American flag in 1863?

35. West Virginia divided from Virginia, and became the 35th State in the Union, in 1863.