The space marine, an archetype of military science fiction, is a kind of soldier that operates in outer space or on alien worlds. Historical marines fulfill multiple roles: ship defence, landing parties, and general-purpose high-mobility land deployments that operate within a fixed distance of shore. By analogy, hypothetical space marines would defend spaceships, land on planets and moons, and satisfy rapid-deployment needs throughout space.
The earliest known use of the term "space marine" was by Bob Olsen in his short story "Captain Brink of the Space Marines" (Amazing Stories, Volume 7, Number 8, November 1932), a light-hearted work whose title is a play on the song "Captain Jinks of the Horse Marines", and in which the protagonists were marines of the "Earth Republic Space Navy" on mission to rescue celebrity twins from aliens on Titan. Olsen published a novella sequel four years later, "The Space Marines and the Slavers" (Amazing Stories, Volume 10, Number 13, December 1936), featuring the same characters using a spaceship with active camouflage to free hostages from Martian space pirates on Ganymede.
A more widely known early example was E. E. Smith's Lensman series. While the first story, Triplanetary and most later sequels (Second Stage Lensmen, Children of the Lens and The Vortex Blaster) do not mention them, passing mentions of marines are made in Galactic Patrol (Astounding Stories, September 1937–February 1938) and Gray Lensman (Astounding Stories, October 1939–January 1940), and a more direct mention is made in First Lensman (1950): "Dronvire of Rigel Four in the lead, closely followed by Costigan, Northrop, Kinnison the Younger, and a platoon of armed and armored Space Marines!".