WIENER NEUSTADT, Austria (AP) — A man accused of accused of pledging allegiance to the Islamic State group and plotting to attack one of superstar singer Taylor Swift’s concerts in Vienna nearly two years ago pleaded guilty as his trial began on Tuesday, Austria media reported.

The plot was thwarted, but Austrian authorities still canceled Swift’s three performances in August 2024. The singer’s fans, known as Swifties, who had flown to Austria from across the globe to attend a performance of her record-setting Eras Tour were devastated, but rallied to turn Vienna into a citywide trading post for friendship bracelets and singalongs.

Austrian outlets Kurier and Kronen Zeitung reported that he pled guilty to charges related to the concert plot.

The defendant, a 21-year-old Austrian citizen known only as Beran A. in line with Austrian privacy rules, faced charges including terrorist offenses and membership in a terrorist organization, and his defense attorney previously said he planned to plead guilty to most of the charges. He could be sentenced to up to 20 years in prison.

He is facing trial alongside Arda K., whose full name also has not been made public. They, along with a third man, planned to carry out simultaneous attacks in Saudi Arabia, Turkey and the United Arab Emirates during Ramadan in 2024 in the name of the Islamic State group. Beran A. and Arda K. never carried out their attacks.