Gravitational capture
Gravitational capture occurs when one object enters a stable orbit around another (typically referring to natural orbits rather than orbit insertion of a spacecraft with an orbital maneuvers). Asteroid capture turns a star-orbiting asteroid into an irregular moon if captured permanently, or a temporary satellite.