matthias had relented at the urging of the guards , but he banished the doctor to spend the remainder of his life in prison , and the rest of the condemned mans medical colleagues assigned to the palace were soon replaced , as a precaution .