Professor James Moriarty is a fictional character and criminal mastermind created by Sir Arthur Conan Doyle to be a formidable enemy for the author's fictional detective Sherlock Holmes. From Wikipedia
The finale sets up a second season with new romance arcs, the fallout from Watson's controversial actions, and the potential appearance of Sherlock Holmes.