In 0 BBY, the garrison was reinforced by a detachment sent by the Sith Lord Darth Vader to search for two droids, R2-D2 and C-3PO, thereby giving Tatooine the full attention of the Empire. Although the Alliance to Restore the Republic launched a campaign to root out the Imperial garrison on Tatooine, the Empire would retain its presence until the aftermath of the Battle of Endor, a loss so great it made the Empire retreat from Tatooine.