The Warsaw Pact, officially the Treaty of Friendship, Cooperation and Mutual Assistance, was an organization of Central and Eastern European Communist states. The states were all allies and would fight together if one of them was attacked. While in theory all the countries in the organisation were equals, the smaller countries were controlled by the Soviet Union. 