Orenburg played a major role in Pugachev's Rebellion (1773–1774), the largest peasant revolt in Russian history. At the time, it was the capital of a vast district and the seat of the governor. Yemelyan Pugachev besieged the city and its fortress from nearby Berda from October 1773 - March 26, 1774. The defense was organized by Governor of Orenburg lieutenant-general .