capitaine (Middle French) comes from Old French capitaine, from Latin capitāneus, from Latin caput, from Proto-Italic kaput, from Proto-Indo-European káput, from Proto-Indo-European kap- — to seize, hold.
capitaine (Middle French): captain