A man who planted a Nail bomb in Budapest two years ago, wounding two Police Officers, was sentenced to life in prison on Wednesday.

The 25-year-old, identified only under the initials LGP, was found guilty by a municipal court on charges related to terrorism and attempted murder, the Hungarian state news agency MTI reported.

In spite of the verdict, the attacker’s motive remains unclear.

He withdrew an initial statement that he attacked the police officers to take their pistols which in the end he did not do.

Later, he vaguely spoke of dark forces having compelled him to do things since childhood.

Experts ruled that he was mentally fit for trial after an evaluation.

The man set the bomb off in the Hungarian capital on Sept. 24, 2016, injuring a female and a male police officer.

He constructed the device using instructions from the internet.

He had no criminal record at the time of his arrest the following month.