Borrowed from Medieval Latin mīlliāris, from Latin mīlliārius (“a thousand paces”).
Practice speaking and memorizing "milhar" and many other words and sentences in Portuguese.