What along with privateer was XXX's military rank?
Spock
The film also depicts Kirk and Spock's initial clashes at Starfleet Academy, and the gradual development of their friendship based on shared mutual respect, what the elder Spock calls ``... a friendship that will define them both in ways they cannot yet realize.''