The death of a pope immediately sets into motion a series of historic rituals for the mourning of the death of the leader of the Roman Catholic church .