A man who killed his mistress with a hammer during an argument was sentenced to death yesterday at the Shanghai Railway Intermediate court, but was given a two-year reprieve for handing himself in.