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 seals with a new one with the Senyera. While the origins of the usage of the Senyera as a coat of arms remain unclear in the agreement, a crown in the helm and two "L" as supporters were added, according to an honour awarded by Peter IV of Aragon for the loyalty and courage shown by Valencians to him in several wars such as the War of the Two Peters against the Kingdom of Castile.