Captain general (and its literal equivalent in several languages) is a high military rank and a gubernatorial title.