A man confined to a wheelchair five years ago is able to walk again after scientists reconnected his brain and legs.
It is the first time a paraplegic patient completely paralysed from the waist down after a spinal cord injury has been able to walk without relying on manually operated robotic limbs.
Neurosurgeons made the modern miracle possible by transmitting signals from the 26-year-old American's brain to electrodes placed around both knees.
The "neural bypass" procedure generated impulses triggering movement that avoided the torn spinal cord.
After extensive training, the man managed to step falteringly along a 3.66 metre (12ft) course while a harness and walking frame prevented him from falling.
US researcher Dr An Do, from the University of California at Irvine, who co-led the proof-of-concept study, said: "Even after years of paralysis the brain can still generate robust brain waves that can be harnessed to enable basic walking.
"We showed that you can restore intuitive, brain-controlled walking after a complete spinal cord injury. This non-invasive system for leg muscle stimulation is a promising method and is an advance of our current brain-controlled systems that use virtual reality or a robotic exoskeleton."
Although the man is still a long way from the freedom of movement he had before his accident, the fact that he was able to walk at all is a major achievement.
The nerves of the spinal cord are unable to regenerate and severing them usually results in irreversible life-long paralysis.
Further work is needed to establish whether the procedure can be used to restore a practical level of walking ability and help other patients.
In future, the electrode cap used in the study to record brain signals is likely to be replaced by hidden implants.
Co-author Dr Zoran Nenadic, also from the University of California at Irvine, said: "We hope that an implant could achieve an even greater level of prosthesis control because brain waves are recorded with higher quality. In addition, such an implant could deliver sensation back to the brain, enabling the user to feel their legs."
Learning how to walk again involved a 19-week multi-step training programme.
First, the patient was taught to control a virtual reality "avatar" with his brain waves and given exercises to recondition and strengthen his leg muscles.
Later he practised walking while suspended five centimetres above the ground, so his legs could move freely without having to be supported.
After 20 sessions he graduated to a body-weight support system to prevent falls.
The system used a bluetooth connection to transmit electroencephalogram (EEG) brainwave signals wirelessly from the patient's cap to a computer.
After decoding the brainwave patterns the computer sent command messages to a belt-mounted microcontroller worn around the man's waist. This in turn fired the trigger impulses that activated the leg muscles.
The results are reported in the Journal of NeuroEngineering and Rehabilitation.
During the experiment the patient was even able to conduct a "light conversation" with the test team while attempting to walk, the scientists revealed.
They wrote: "This robustness in real-time control, together with a high level of performance sustained across months, indicates that BCI-FES (brain-computer interface functional electrical stimulation) mediated restoration of basic walking function after SCI (spinal cord injury) is feasible."