"...it is our task to make sure that the demonstration in Petrograd on June 18 takes place under our revolutionary slogans." In the rally the Bolshevik slogans prevailed over Menshevik and Socialist-Revolutionary ones. July Days In early July, widespread discontent in St. Petersburg led to militant demonstrations calling for the overthrow of the Provisional Government. Following news of a failed offensive at the front, on July 3 (16) spontaneous demonstrations started in the Vyborg District of Petrograd. They continued all day. The separate demonstrations grew into a huge general armed demonstration demanding the transfer of power to the Soviets. The party was opposed to armed action at that time, for it considered that the revolutionary crisis had not yet matured, that the army and the provinces were not yet prepared to support an uprising in the capital, and that an isolated and premature rising might only make it easier for the counter-revolutionaries to crush the vanguard of the revolution. But when it became obviously impossible to keep the masses from demonstrating, the party resolved to participate in the demonstration. Hundreds of thousands of men and women marched to the headquarters of the Petrograd Soviet and the All-Russian Central Executive Committee of Soviets, where they demanded that the Soviets take the power into their own hands, break with the bourgeoisie, and pursue an active peace policy. Notwithstanding the pacific character of the demonstration, units—detachments of officers and cadets were brought out against it. Many were killed in the skirmishes. The ensuing crackdown resulted in the Kerensky government ordering the arrest of the Bolshevik leadership on July 19. Lenin escaped capture, went into hiding, and wrote State and Revolution, which outlined his ideas for a socialist government. 6th Party Congress The Sixth Congress of the RSDLP(b) sat in Petrograd from July 26 to August 3 (August 8–16), 1917, in semi-legal conditions. It was attended by 157 delegates voting and 110 delegates with voice but no vote, from 240,000 Party members. Lenin guided the congress from underground. He kept in touch with Petrograd through Bolsheviks assigned by the Central Committee who visited him at Razliv. Lenin's theses "The Political Situation", the article "On Slogans" and other items formed the basis for congress resolutions. While at Razliv, Lenin took part in drafting the most important resolutions of the congress. The congress unanimously elected Lenin its honorary chairman. The items on the congress agenda were: