Formulate an answer to this elaborate question: Which war in United States history between the United States and the United Kingdom was the last war in which hispanic naval officers could reach a rank no higher than Commodore?
War of 1812