Фердинанд VII
Both armies fought in the name of King Ferdinand VII of Spain.