In March 1917 , demonstrations in Petrograd culminated in the abdication of Tsar Nicholas II and the appointment of a weak Provisional Government , which shared power with the Petrograd Soviet socialists .