Starfleet was militarized in Kirk's era. This point is raised in several episodes of the original series. There was a major conflict in the mid-23rd century which led to a peace mission to Axanar. It irks me that people talk about this era who show their ignorance. "Starfleet needed to militarize". Really? Starfleet is identified as the military in the original series and in ST II.