A man pleaded guilty Thursday to murdering a passenger and trying to kill two others in a random knife attack on a shinkansen last year.

According to the indictment, Ichiro Kojima, 23, seriously wounded two women in their 20s with a machete on the Nozomi 265 train en route from Tokyo to Osaka on the evening of June 9, 2018. He also used a knife and machete to fatally stab Kotaro Umeda, 38, who intervened in the attack against the women.

"I did it with the intent to kill," Kojima said in the first court hearing in his lay judge trial held at the Odawara branch of the Yokohama District Court.