An agreement between Prime Minister Ioannis Metaxas and the head of state George II followed in 1936, which installed Metaxas as the head of a dictatorial regime known as the 4th of August Regime, inaugurating a period of authoritarian rule that would last, with short breaks, until 1974. Although a dictatorship, Greece remained on good terms with Britain and was not allied with the Axis.