sentence: arms of the city of valencia it is traditionally considered that a senyera was granted by james i of aragon as the arms of valencia following the christian conquest from moorish rule in 1238 , although the earliest sources related to this are dated in 1377 , when the city council agreed to replace the old arms used for seal with a new one with the senyera .