Bolesław Bierut assumed the reins of government and in July 1945 was internationally recognized as the head of state. The Senate was abolished in 1946 by the Polish people's referendum. When the Sejm passed the Small Constitution of 1947, based in part on the 1921 March Constitution, Bierut was elected president by that body.