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?

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. 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. Those privileges became the basis of the Golden Liberty in the Polish–Lithuanian Commonwealth. 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. <SEP> 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. Within days they were joined by the independent Dominions of the British Commonwealth: Australia, Canada, New Zealand and South Africa. After the start of the German invasion of North Europe until the Balkan Campaign, the Netherlands, Belgium, Greece, and Yugoslavia joined the Allies. The United States provided war materiel and money all along, and officially joined in December 1941 after the Japanese attack on Pearl Harbor. 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. 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. <SEP> 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. 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. Therefore, although ostensibly an international collective security alliance, the USSR dominated the Warsaw Treaty armed forces. <SEP> 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. liberated by napoleon's army in 1806, warsaw was made the capital of the newly created duchy of warsaw. 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. the royal university of warsaw was established in 1816. <SEP> before creation of warsaw pact, fearing germany rearmed, czechoslovak leadership sought to create security pact with east germany and poland. these states protested strongly against re-militarization of west germany. the warsaw pact was primarily put in place as a consequence of the rearming of west germany inside nato. 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. 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'. previously, in march 1954, the ussr, fearing the restoration of german militarism in west germany, requested admission to nato.