During World War II, three resistance groups were operating in Albania: the nationalists, the royalists and the communists. Some of the Albanian establishment opted for collaboration. The communist partisans refused to co-operate with the other resistance groups and eventually took control of the country. They were able to defeat the Nazi remnants and had full control of Albania in November 1944.