Two courts issued separate prison sentences to a man who attacked two people with a samurai sword, fatally shot a former classmate, kidnapped a woman and led police on a six-day manhunt in 2020.