He was awarded the Fields Medal in 1978, but was not permitted to travel to Helsinki to accept in person. His position improved, and 1979 he visited Bonn, and was later able to travel freely, though he still worked in a technical institute rather than a mathematics department. In 1991 he took a professorial position at Yale University.
In 1986 he completed the proof of the Oppenheim conjecture on quadratic forms and diophantine approximation. This was a question that had been open for half a century, on which considerable progress had been made by the Hardy-Littlewood circle method; but to reduce the number of variables to the point of getting the best-possible results, the more structural methods from group theory proved decisive. He has formulated a further program of research in the same direction, that includes the Littlewood conjecture. This has been widely influential.
Margulis completed his graduate studies in 1970 and he was awarded the degree of Candidate of Science for a thesis On some problems in the theory of U-systems.
Margulis was soon able to leave the Soviet bloc and, in 1979, he was able to spend three months at the University of Bonn.
Between 1988 and 1991 Margulis made a number of visits to the Max Planck Institute in Bonn, to the Institut des Hautes Études and to the Collège de France, to Harvard and to the Institute for Advanced study in Princeton.