The Magellanic Stream is thought to be created either by gas stripped off the Large Magellanic Cloud (LMC) and the Small Magellanic Cloud (SMC) as they passed through the halo of the Milky Way, or by the gravitational pull of the Milky Way.

For more details, read the Astronomy Picture of the Day article.