He went to be enrolled together with Mary, who was promised to him in marriage and who was pregnant.