An R4-series agromech droid was stationed in a village on the Outer Rim Territories planet of Raydonia during the time of the Clone Wars.
Around 21 BBY, the Raydonian village was visited by Dathomirian Zabrak Savage Opress and his brother, Sith Lord Darth Maul. The two sought to attract the attention of Jedi Master Obi-Wan Kenobi, the man who reduced Maul to his current state, by slaughtering the entire population of the village, except this droid.
Later, the village was visited by Jedi Master Obi-Wan Kenobi who saw this droid repeatedly banging itself against a wall. The Jedi then politely used the Force to shut the droid off so it would stop.