Charge transfer and deposition of aluminum at the electrode