The disclosure relates to the delivery of electrical stimulation therapy to the brain of a patient, e.g., to treat or otherwise manage a patient disorder. In one example, the disclosure relates to a method comprising generating electrical stimulation via a medical device delivering the electrical stimulation at a first frequency to a brain of a patient when the bioelectrical brain signals of the patient oscillate at a second frequency, where the second frequency corresponds to pathological brain signals of the patient, where the electrical stimulation is selected to entrain the bioeiectrical brain signals of the patient and adjusting the delivered electrical stimulation from the first frequency to a third frequency, where adjusting the delivered electrical stimulation changes the bioelectrical brain signal oscillations to a fourth frequency different from the second frequency. The fourth frequency may correspond to an oscillation frequency of non-pathological brain signals of the patient.