UPDATE:Man accused of threatening Trinity released from jail.

A man accused of threatening to burn down Trinity High School on Twitter was arrested Thursday afternoon, St. Matthews Police said.

Thor Wiljanen, 29, of Louisville, was arrested by St. Matthews Police and taken to Louisville Metro Corrections around 2:45 p.m. and charged with second-degree terroristic threatening, a felony, said Tony Cobaugh, St. Matthews' assistant police chief.

Cobaugh said a police investigator was contacted by a local attorney who requested a meeting. At the meeting, Wiljanen confessed to being the Twitter user "Proud Clarion" and the sender of tweets that threatened Trinity, Cobaugh said.

Wiljanen's attorney, Ted Shouse, said he contacted the police Thursday morning and Wiljanen was arrested at his office.

"It was in no way a threat," Shouse told the Courier Journal. "It was an attempt at humor, and the community and the school were never in any danger. It was never a threat."

He said Wiljanen has no connection to Trinity. "It's always been a humorous account," Shouse said.

Related:'Burn down Trinity.' FBI, police taking tweets about Brohm seriously

The Catholic high school shut down Thursday after police say Wiljanen tweeted he would burn down the school if Purdue football coach Jeff Brohm didn't accept the coaching job at the University of Louisville. Brohm graduated from Trinity in 1989 and played quarterback there before playing for U of L.

Trinity announced Thursday afternoon that classes will be held Friday.

"We appreciate the attention given this situation by the St. Matthews Police Department," Trinity President Rob Mullen said. "We take the safety and well-being of our students, faculty and staff with the utmost seriousness."

In the tweets, which were posted before noon Wednesday, Proud Clarion @RTPB07 wrote, "If Jeff Brohm doesn't come, we burn down Trinity," and "If you see a man running down frankfort with a gas can and wild look in his eye, its me."

Another tweet read: "*me, out front of Trinity, holding a single match and addressing Jeff Brohm directly* I'LL F------ DO IT".

On Wednesday evening, Brohm announced he was staying at Purdue.

Cobaugh said Louisville Metro Police officers and FBI agents have assisted the St. Matthews Police Department during the investigation.

Wiljanen is scheduled to appear in court for an arraignment hearing Friday, according to Metro Corrections.

St. Matthews Police publicly called on the Twitter user to come forward early Thursday.

"We live in a society now and in a world today where shame on you if you take these things lightly," Cobaugh said. "It doesn't matter if it was satirical, and it doesn't matter if it's involving a favorite son and alum of the school who is now a D1 football coach."

Background:What was the 'threat'? Trinity cancels class after tweet about Jeff Brohm

More:Jeff Brohm said no, but here's why that might be OK for Louisville

You may like:Jeff Brohm saga isn't the first memorable Louisville coaching search