When was the bear flag made?

The current California State Flag, adopted by the state legislature in 1911, is based on the original Bear Flag raised by pioneering Americans over Sonoma in 1846. The star was taken from the lone star of Texas. The Bear was representative of the numerous Grizzly Bears in the state and the words "California Republic" testify to the feisty American pioneers who settled in the territory.