Cleaning using a succession of brushes and electrophoresis