The only free and comprehensive online etymological dictionary of the Spanish language
capitán m. (Noun) "captain"
14th cent. From Late Latin capitaneus "captain." From caput "head" (see cabo).
Also the origin of the surname Capitán.