The invention is an apparatus and method for the treatment of bacterial diseases based on the antibacterial characteristic of the electrically released silver ions. The method includes the implantation of a small electrode including silver in the infected bone, embedding another small electrode including another metallic element subcutaneously, and initiating the release of silver ions by applying a small current between the two electrodes. The initiation current is applied for a very short time and then discontinued. After this a continuous release of the silver ions will take place for a long time while spreading the silver ions to the surrounding tissue as well. This process assures a long-term antibacterial effect, which after accomplishing the infection healing will also provide preventive care. The apparatus comprises all of the components necessary to carry out the method.