Ferdinand VII of Spain
Both armies fought in the name of King Ferdinand VII of Spain.