When he knew it of the centurion - Being informed by the centurion of the fact that he was dead. The centurion had charge of the soldiers who watched him, and could therefore give correct information.
Related Commentaries of Mark 15:45
Mark 15:45
45 And when he knew it of the centurion, he gave the body to Joseph.