Philip V of Spain
In 1713, by the Nueva Planta decrees, King Philip V of Spain replace the function "Viceroy of Catalonia", by that of Captain General of Catalonia.