By law, that excluded blacks then. Until March 1865.
Officially, yes, but not all things were as they seemed.