Alféres

Alféres was the Old Spanish and Portuguese equivalent of the modern Spanish word for the rank of alférez or ensign.

Source