Hogwarts alum Alfred Enoch is looking back to his “Harry Potter” days in a new interview with HuffPost Live. He assumes the role as the sorting hat to determine which houses his fellow  “How to Get Away with Murder” cast members would belong to: Gryffindor, Slytherin, Ravenclaw or Hufflepuff.

The actor, who played the role of Dean Thomas in the “Harry Potter” film series, says that he thinks about sorting people into the four Hogwarts houses a lot — and his gut instinct tells him his “HTGAWM” character Wes Gibbons is a Gryffindor.

RELATED: ‘How to Get Away With Murder’ trailer: ‘Next-level crazy’ and a baby?!

“I think he’s principled, I think he cleaves to his principles and acts on them despite difficult situations,” says Enoch.

When it comes to Prof. Annalise Keating, he shares his gut feeling of placing her in the house of Slytherin, based on her hard shell. However, Enoch explains that not all housemates of Severus Snape and Draco Malfoy are bad.

RELATED: 4 completely crazy things we need to see on ‘How to Get Away With Murder’

“Sometimes it’s difficult not to fall into the light of there are bad Slytherins, “says Enoch. “I’m not saying she’s bad, she’s a Slytherin. There are good Slytherins.”

The actor adds that her character has some prominent attributes that are commonly associated with the house, “That ruthless steel, yea I call her a Slytherin.”

As for the other “HTGAWM” characters, Enoch says Michaela is a Ravenclaw, Laurel is a Gryffindor, Connor and Asher are both Slytherins and “HTGAWM” producer Shonda Rhimes is a Ravenclaw.

“How to Get Away With Murder” returns Thursday, Feb. 11 at 10 p.m. on ABC.

Posted by:Mannie Holmes