Following the catastrophic events in Asia Minor, the monarchy was abolished via a referendum in 1924 and the Second Hellenic Republic was declared. Premier Georgios Kondylis took power in 1935 and effectively abolished the republic by bringing back the monarchy via a referendum in 1935. A coup d'état followed in 1936 and installed Ioannis Metaxas as the head of a dictatorial regime known as the 4th of August Regime. Although a dictatorship, Greece remained on good terms with Britain and was not allied with the Axis.