After the February Revolution and the overthrow of the Tsar, the new Provisional Government decided to stage yet another offensive against the Central Powers. The Kerensky Offensive was named after Alexander Kerensky, the Minister of War, and later Prime Minister of the Provisional Government. The offensive started promising enough but the attack petered out as Russian troops refused to attack. A strong Central Powers counter attack broke the Russian lines and sent them into retreat. During the battle of Riga the Germans took the Baltic city from Russian hands, and were now very close to the Russian capital, Petrograd. On the home front, the Russian Provisional Government had trouble maintaining authority, especially in Petrograd. During the July Days an ill-conceived coup attempt took place. At the time the Bolsheviks were not strong enough the topple the government, but that state of affairs would not last long.