Gayl was born in Königsberg, capital of the Prussian province of East Prussia (today Kaliningrad, Russia) and studied law at the universities of Berlin, Göttingen and Bonn. In 1909 he became the director of the Ostpreussische Landgesellschaft, a settlement society for East Prussia .[1]