The English held the city for 16 months and defeated several attempts to expel them. After the victory of the Bourbons at the Battle of Almansa on 25 April 1707, the English army evacuated Valencia and Philip V ordered the repeal of the Furs of Valencia as punishment for the kingdom's support of Charles of Austria. By the Nueva Planta decrees ("Decretos de Nueva Planta") the ancient Charters of Valencia were abolished and the city was governed by the Castilian Charter, similarly to other places in the Crown of Aragon.