Star Trek: Beyond Quote
Montgomery 'Scotty' Scott: [about Balthazar Edison]Ah, well, his record goes back way before the Federation even existed. He was a major in the United Earth Military Assault Command Operation. A lot of off-world combat.
Captain James T. Kirk: [surprised]He was a soldier.
Montgomery 'Scotty' Scott: Aye, sir. And a pretty good one. His military service came to an end when MACO was disbanded.
Captain James T. Kirk: Why? What happened?
Montgomery 'Scotty' Scott: The Federation, sir. Starfleet. We're not a military agency. They made him a captain and gave him the Franklin.
Captain James T. Kirk: [surprised]He was a soldier.
Montgomery 'Scotty' Scott: Aye, sir. And a pretty good one. His military service came to an end when MACO was disbanded.
Captain James T. Kirk: Why? What happened?
Montgomery 'Scotty' Scott: The Federation, sir. Starfleet. We're not a military agency. They made him a captain and gave him the Franklin.
Movie: Star Trek: Beyond