The sole survivor of the astromech droid team on Queen Amidala039s Jtype 327 Nubian royal starship. R2D2 later served as Anakin Skywalker039s astromech droid as one of the droids on Leia Organa039s ship Tantive IV was found by Jawas and sold to Luke Skywalker whom he stayed with throughout most of the Galactic Civil War