(CNN)A man paralyzed from the neck down for almost a decade has used his mind to compose whole sentences in real-time, according to a new study.
Scientists implanted two tiny sensors made up of hair-fine electrodes -- 4 x 4 millimeters -- into the left side of his brain to allow him to write his thoughts -- a skill called "mindwriting" by researchers.
The man was 65 at the time of the study, which was conducted nine years after he suffered a spinal cord injury in 2007.
He was asked to imagine holding a pen and paper and then try to write.
The sensors placed in the outer layer of his brain detected the activity as he mentally visualized the movement. An algorithm then decoded the motion for each letter, translating it into text which appeared on a computer screen.
The man -- known only as T5 -- was able to communicate by text at speeds rivaling those achieved by his able-bodied peers texting on a smartphone, the team of researchers from Stanford University in California said.
Using the "brain-to-text" system, T5 typed 90 characters -- or 18 words -- per minute -- more than double the previous record for typing with such a "brain-computer interface," the team reported in the journal Nature Wednesday. An able-bodied person, on average, can type about 23 words per minute on a smartphone, researchers said.
The findings could spell new hope for millions around the world who have lost the use of their upper limbs or their ability to speak due to illness or injury, said Jaimie Henderson, professor of neurosurgery at Stanford, in a statement.
"The goal is to restore the ability to communicate by text," said Henderson.
When a person experiences paralysis, the brain's neural activity for actions like walking, grabbing a drink or speaking remain. The aim of research like this is to tap into this activity to help regain lost abilities.
Frank Willett, a Howard Hughes Medical Institute (HHMI) research specialist and neuroscientist who worked with Henderson, told CNN the team worked on the project for around two years, but the department has "a long history of developing brain-computer interfaces to help people with paralysis."
Henderson said the new development could be life changing for those who have suffered devastating injuries like brain stem stroke, which afflicted Jean-Dominique Bauby, the author of the book "