Inclusion Criteria:  Patients between the ages of 18 and 80 and diagnosed with stroke and time from stroke onset to admission were longer than three months Independent walking ability more than 10 meters with or without assistance Patients whose cognitive and functional status were suitable for the training program  Exclusion Criteria:  Had a previous history of stroke Bilateral hemiplegia Leg-length difference >2.0 cm Fixed flexion contracture or severe joint deformity Bladder or bowel incontinence Open wound Cardiovascular complaints and can not tolerate exercise training Other neurological comorbidities including, multiple sclerosis (MS), spinal cord injury (SCI), traumatic brain injury (TBI), Parkinson's disease, and intracranial tumors Congestive heart failure Atrial fibrillation (AF), use of antiarrhythmic drugs affecting QT duration, any type of bundle branch block on electrocardiogram (ECG)