After the 1951 elections in which Hapoel HaMizrachi ran as an independent party, Shapira was appointed Minister of Internal Affairs and Minister of Religions.
Po volbách v roce 1951, ve kterých Hapoel ha-Mizrachi kandidovala jako nezávislá strana, byl Šapira jmenován ministrem vnitra a ministrem pro náboženské záležitosti.