After the 1989 break-up of the Soviet Union and Eastern Bloc, Gyamarti entered politics. Benefitting from his achievements and name recognition, he was elected Member of Parliament from the National List of the Hungarian Democratic Forum (MDF) in the 1990 Hungarian parliamentary election. He served as a member of the Committee on Municipality, Public Administration, Internal Security and Police.