Question: When did the country where the top-ranking Warsaw Pact operatives originated, despite its being headquartered in the nation known as the nobilities commonwealth, become allies with the US?

<P0-S0> before creation of warsaw pact, fearing germany rearmed, czechoslovak leadership sought to create security pact with east germany and poland. <P0-S1> these states protested strongly against re-militarization of west germany. <P0-S2> the warsaw pact was primarily put in place as a consequence of the rearming of west germany inside nato. <P0-S3> soviet leaders, as many european countries in both western and eastern side, feared germany being once again a military power as a direct threat and german militarism remained a fresh memory among soviets and eastern europeans. <P0-S4> as soviet union had already bilateral treaties with all of its eastern satellites, the pact has been long considered 'superfluous', and because of the rushed way in which it was conceived, nato officials labeled it as a 'cardboard castle'. <P0-S5> previously, in march 1954, the ussr, fearing the restoration of german militarism in west germany, requested admission to nato. <SEP> <P1-S0> At the start of the war on 1 September 1939, the Allies consisted of France, Poland and the United Kingdom, as well as their dependent states, such as British India. <P1-S1> Within days they were joined by the independent Dominions of the British Commonwealth: Australia, Canada, New Zealand and South Africa. <P1-S2> After the start of the German invasion of North Europe until the Balkan Campaign, the Netherlands, Belgium, Greece, and Yugoslavia joined the Allies. <P1-S3> After first having cooperated with Germany in invading Poland whilst remaining neutral in the Allied - Axis conflict, the Soviet Union perforce joined the Allies in June 1941 after being invaded by Germany. <P1-S4> The United States provided war materiel and money all along, and officially joined in December 1941 after the Japanese attack on Pearl Harbor. <P1-S5> China had already been in a prolonged war with Japan since the Marco Polo Bridge Incident of 1937, but officially joined the Allies in 1941. <SEP> <P2-S0> The Warsaw Treaty's organization was two-fold: the Political Consultative Committee handled political matters, and the Combined Command of Pact Armed Forces controlled the assigned multi-national forces, with headquarters in Warsaw, Poland. <P2-S1> Furthermore, the Supreme Commander of the Unified Armed Forces of the Warsaw Treaty Organization which commands and controls all the military forces of the member countries was also a First Deputy Minister of Defense of the USSR, and the Chief of Combined Staff of the Unified Armed Forces of the Warsaw Treaty Organization was also a First Deputy Chief of the General Staff of the Armed Forces of the USSR. <P2-S2> Therefore, although ostensibly an international collective security alliance, the USSR dominated the Warsaw Treaty armed forces. <SEP> <P3-S0> warsaw remained the capital of the polish–lithuanian commonwealth until 1796, when it was annexed by the kingdom of prussia to become the capital of the province of south prussia. <P3-S1> liberated by napoleon's army in 1806, warsaw was made the capital of the newly created duchy of warsaw. <P3-S2> following the congress of vienna of 1815, warsaw became the centre of the congress poland, a constitutional monarchy under a personal union with imperial russia. <P3-S3> the royal university of warsaw was established in 1816. <SEP> <P4-S0> The Polish nobility enjoyed many rights that were not available to the noble classes of other countries and, typically, each new monarch conceded them further privileges. <P4-S1> Those privileges became the basis of the Golden Liberty in the Polish–Lithuanian Commonwealth. <P4-S2> Despite having a king, Poland was called the nobility's Commonwealth because the king was elected by all interested members of hereditary nobility and Poland was considered to be the property of this class, not of the king or the ruling dynasty. <P4-S3> This state of affairs grew up in part because of the extinction of the male-line descendants of the old royal dynasty (first the Piasts, then the Jagiellons), and the selection by the nobility of the Polish king from among the dynasty's female-line descendants.