[3] He studied cybernetics at the Yerevan Polytechnic University and graduated as a computer engineer.
Police arrested him in 1974 and a court sentenced him to two years in Soviet labor camps for proliferating unpatriotic ideas and activities.
[4] Margaryan had a history of serious cardiac problems and twice underwent heart surgery, first in Armenia in 1999 and later in France.
From 1972 until his arrest in 1974, he worked at the Yerevan branch of Scientific-Research Institute of Gas Industry as a senior engineer.
From 1979 to 1990, he worked at the Information Counting Centre of the Trade Ministry as the head of department of electronics.
He then settled to work in Armenia's State Architectural University as junior scientist from 1994 to 1995.