4-A7 was a masculine-programmed RA-7 protocol droid and prototype spy droid that served the Confederacy of Independent Systems under Dark Acolyte Asajj Ventress during the Clone Wars, a galactic conflict fought between the Confederacy and the Galactic Republic. During the Battle of Teth in 22 BBY, 4-A7 was stationed at a B’omarr Order Monastery, where the Confederacy had placed Rotta, the kidnapped son of the crime lord Jabba Desilijic Tiure. After the Republic’s Torrent Company defeated the monastery’s battle droid defense, Ventress dispatched 4-A7 to greet their enemies. Masquerading as an old caretaker droid, he claimed they had freed him and informed the company’s Jedi General, Anakin Skywalker, that Rotta was being kept on the detention level.