An R2-series astromech droid functioned as a security unit for the Galactic Republic at the Chancellor Palpatine Spaceport located on the planet Coruscant.
During 19 BBY, the R2 unit trailed after a peculiar R2-series astromech droid, who was actually Jedi Master [Yoda](/article/yoda/legends] in a disguise, and entered the spaceport's refresher. Yoda employed the Force to leviate himself up and out of a stall, subsequently trapping the security R2 unit within.