PARIS -- In his final years, the only thing connecting the brilliant physicist to the outside world was a couple of inches of frayed nerve in his cheek.
As slowly as a word per minute, Stephen Hawking used the twitching of the muscle under his right eye to grind out his thoughts on a custom-built computer, painstakingly outlining his vision of time, the universe, and humanity's place within it.
What he produced was a masterwork of popular science, one that guided a generation of enthusiasts through the esoteric world of anti-particles, quarks, and quantum theory. His success in turn transformed him into a massively popular scientist, one as familiar to the wider world through his appearances on prime time television shows as his work on cosmology and black holes.
Hawking owed one part of his fame to his triumph over amyotrophic lateral sclerosis, or ALS, a degenerative disease that eats away at the nervous system. When he was diagnosed aged only 21, he was given only a few years to live.
But Hawking defied the normally fatal illness for more than 50 years, pursuing a brilliant career that stunned doctors and thrilled his fans. Even though a severe attack of pneumonia left him breathing through a tube, an electronic voice synthesizer allowed him to continue speaking, albeit in a robotic monotone that became one of his trademarks.
He carried on working into his 70s, spinning theories, teaching students, and writing "A Brief History of Time," an accessible exploration of the mechanics of the universe that sold millions of copies.
By the time he died Wednesday at 76, Hawking was among the most recognizable faces in science, on par with Albert Einstein.
As one of Isaac Newton's successors as Lucasian Professor of Mathematics at Cambridge University, Hawking was involved in the search for the great goal of physics -- a "unified theory."
Such a theory would resolve the contradictions between Einstein's General Theory of Relativity, which describes the laws of gravity that govern the motion of large objects like planets, and the Theory of Quantum Mechanics, which deals with the world of subatomic particles.
For Hawking, the search was almost a religious quest -- he said finding a "theory of everything" would allow mankind to "know the mind of God."
"A complete, consistent unified theory is only the first step: our goal is a complete understanding of the events around us, and of our own existence," he wrote in "A Brief History of Time."
In later years, though, he suggested a unified theory might not exist.
He followed up "A Brief History of Time" in 2001 with the sequel, "The Universe in a Nutshell," which updated readers on concepts like supergravity, naked singularities and the possibility of an 11-dimensional universe.
Hawking said belief in a God who intervenes in the universe "to make sure the good guys win or get rewarded in the next life" was wishful thinking.
"But one can't help asking the question: Why does the universe exist?" he said in 1991. "I don't know an operational way to give the question or the answer, if there is one, a meaning. But it bothers me."
Hawking often credited humour with helping him deal with his disability, and it was his sense of mischief that made him game for a series of stunts.
He made cameo television appearances in "The Simpsons," "Star Trek: The Next Generation," and the "The Big Bang Theory" and counted among his fans U2 guitarist The Edge, who attended a January 2002 celebration of Hawking's 60th birthday.
His early life was chronicled in the 2014 film "The Theory of Everything," with Eddie Redmayne winning the best actor Academy Award for his portrayal of Hawking. The film focused still more attention on Hawking's remarkable life.
Some colleagues credited that celebrity with generating new enthusiasm for science.
His achievements, and his longevity, also helped prove to many that even the most severe disabilities need not stop patients from achieving.
Richard Green, of the Motor Neurone Disease Association -- the British name for ALS -- said Hawking met the classic definition of the disease, as "the perfect mind trapped in an imperfect body." He said Hawking had been an inspiration to people with the disease for many years.
Hawking's disability did slow the pace of conversation, especially in later years as even the muscles in his face started to weaken. Minutes could pass as he composed answers to even simple questions. Hawking said that didn't impair his work, even telling one interviewer it gave his mind time to drift as the conversation ebbed and flowed around him.
His near-total paralysis certainly did little to dampen his ambition to physically experience space: Hawking savored small bursts of weightlessness in 2007 when he was flown aboard a jet that made repeated dives to simulate zero-gravity.
Hawking had hoped to leave Earth's atmosphere altogether someday, a trip he often recommended to the rest of the planet's inhabitants.
"In the long run the human race should not have all its eggs in one basket, or on one planet," Hawking said in 2008. "I just hope we can avoid dropping the basket until then."
Hawking first earned prominence for his theoretical work on black holes. Disproving the belief that black holes are so dense that nothing could escape their gravitational pull, he showed that black holes leak a tiny bit of light and other types of radiation, now known as "Hawking radiation."
"It came as a complete surprise," said Gary Horowitz, a theoretical physicist at the University of California, Santa Barbara. "It really was quite revolutionary."
Horowitz said the find helped move scientists one step closer to cracking the unified theory.
Hawking's other major scientific contribution was to cosmology, the study of the universe's origin and evolution. Working with Jim Hartle of the University of California, Santa Barbara, Hawking proposed in 1983 that space and time might have no beginning and no end. "Asking what happens before the Big Bang is like asking for a point one mile north of the North Pole," he said.
In 2004, he announced that he had revised his previous view that objects sucked into black holes simply disappeared, perhaps to enter an alternate universe. Instead, he said he believed objects could be spit out of black holes in a mangled form.
That new theory capped his three-decade struggle to explain a paradox in scientific thinking: How can objects really "disappear" inside a black hole and leave no trace when subatomic theory says matter can be transformed but never fully destroyed?
Hawking was born Jan. 8, 1942, in Oxford, and grew up in London and St. Albans, northwest of the capital. In 1959, he entered Oxford University and then went on to graduate work at Cambridge.
Signs of illness appeared in his first year of graduate school, and he was diagnosed with ALS, also known as Lou Gehrig's disease after the New York Yankee star who died of it. The disease usually kills within three to five years.
According to John Boslough, author of "Stephen Hawking's Universe," Hawking became deeply depressed. But as it became apparent that he was not going to die soon, his spirits recovered and he bore down on his work. Brian Dickie, director of research at the Motor Neurone Disease Association, said only 5 per cent of those diagnosed with ALS survive for 10 years or longer. Hawking, he added, "really is at the extreme end of the scale when it comes to survival."
Hawking married Jane Wilde in 1965 and they had three children, Robert, Lucy and Timothy.
Jane cared for Hawking for 20 years, until a grant from the United States paid for the 24-hour care he required.
He was inducted into the Royal Society in 1974 and received the Albert Einstein Award in 1978. In 1989, Queen Elizabeth II made him a Companion of Honor, one of the highest distinctions she can bestow.
He whizzed about Cambridge at surprising speed -- usually with nurses or teaching assistants in his wake -- travelled and lectured widely, and appeared to enjoy his fame. He retired from his chair as Lucasian Professor in 2009 and took up a research position with the Perimeter Institute for Theoretical Physics in Waterloo, Ontario.
Hawking divorced Jane in 1991, an acrimonious split that strained his relationship with their children. Writing in her autobiographical "Music to Move the Stars," she said the strain of caring for Hawking for nearly three decades had left her feeling like "a brittle, empty shell." Hawking married his one-time nurse Elaine Mason four years later, but the relationship was dogged by rumours of abuse.
Police investigated in 2004 after newspapers reported that he'd been beaten, suffering injuries including a broken wrist, gashes to the face and a cut lip, and was left stranded in his garden on the hottest day of the year.
Hawking called the charges "completely false." Police found no evidence of any abuse. Hawking and Mason separated in 2006.
Lucy Hawking said her father had an exasperating "inability to accept that there is anything he cannot do."
"I accept that there are some things I can't do," he told The Associated Press in 1997. "But they are mostly things I don't particularly want to do anyway."
Then, grinning widely, he added, "I seem to manage to do anything that I really want."