The prime major was an assistant to the colonel, and the second major was an assistant to his deputy lieutenant colonel.
Премьер-майор был помощником полковника, а секунд-майор — помощником его заместителя, подполковника.