Fianna Fail came to power in 1932 under Eamon de Valera and began dismantling the Anglo-Irish Treaty over the next several years. De Valera passed laws removing Ireland from British control and creating a new constitution in 1937 that made Ireland a republic in name. However, Ireland remained in the Commonwealth to avoid antagonizing Britain. De Valera also had to contend with the fascist Blueshirts organization and eventually banned them, seeing them as a threat. He initially supported the IRA but later banned it as well when it became a threat to his power.