Per the OED it's an oriental adoption of Frank, as in the Germanic tribe.