A Quebec teen being tried on two terror-related charges told a police officer he knew the man who ran down two soldiers with his car, killing one of them, a youth court heard Thursday.

Audio of the RCMP interrogation of the teen, 16, recorded the day the soldiers were attacked by Martin Couture-Rouleau in Saint-Jean-sur-Richelieu, on Oct. 20, 2014, was played in court today.

Couture-Rouleau, 25, was killed by municipal police officers after the attack.

The teen faces two terror-related charges — participation in the activity of a terrorist group and attempting to leave Canada to participate in a terrorist group — and has already pleaded guilty to armed robbery. Crown prosecutors allege he committed the robbery for the benefit of an unspecified terrorist organization.

Martin Couture-Rouleau, 25, was killed by police after he drove his car into two soldiers in St-Jean-sur-Richelieu, Que., last year, killing one and injuring the other. (Martin Couture-Rouleau/Facebook) During an interview with RCMP national security division investigator Brahim Soussi, the teen was shown news articles about the attack on the soldiers.

"He was killed?" the teen asked, referring to Couture-Rouleau. "Yes," Soussi replied.

​Federal investigators had become concerned about the radicalization of Couture-Rouleau before the attack occurred.

He had been arrested by RCMP trying to leave the country, but police didn't have evidence to charge him with any crime and his passport was taken away.

The teen initially denied knowing Couture-Rouleau until Soussi showed him a piece of paper with his phone number on it that had been found in the boy's pocket.

'You kill our civilians, we'll kill your civilians'

The teen then admitted to speaking with Couture-Rouleau via Twitter, Facebook and on the phone. He said the two planned to meet in person but despite making plans to meet at the same metro station, missed each other.

The teen said he asked Couture-Rouleau for $50 in order to buy a knife. He said he wanted a weapon in order to rob a store to get money to go to a Muslim country.

When Soussi asked the teen about the attack on the two soldiers in Saint-Jean-sur-Richelieu, he described it as "well done" but said killing civilians would have sent a stronger message.

"You kill our civilians, we'll kill your civilians," the teen told Soussi.

The teen then asked whether he could see a photograph of Couture-Rouleau's body.

Shared views on 'everything'

He told Sûreté du Québec investigator Simon Desbiens, who was also present at the interview, that Couture-Rouleau followed authentic Islam.

"Do you have the same opinions [as Couture-Rouleau]?" Desbien asked.

"Yes," said the teen.

"On what?"

"Everything," he replied.

The contents of the teen's computer are expected to be reviewed in court Friday morning.

The teen was arrested on Oct. 17, 2014, and detained, three days before Couture-Rouleau attacked the soldiers.​

The accused cannot be identified due to provisions in the Youth Criminal Justice Act.