On 9 December 1922, her husband stood as a candidate in the Presidential election but was defeated in the fourth ballot to the landowner Count Maurycy Klemens Zamoyski and the later elected Gabriel Narutowicz, from PSL as the first President of Poland. Following the assassination of President Narutowicz by the ultra-nationalist painter Eligiusz Niewiadomski on 16 December 1922, the candidacy waiver Piłsudski, who did not want to be blocked in a "gilded cage" according to his own words, Wojciechowski was, by the National Assembly on the recommendation of Sejm marshal Maciej Rataj with the votes of the Left and the Centre on the first ballot, elected head of state, which made Maria the First Lady of Poland.