"It's been a lot of hard work and an exciting four months," said Donovan. "I am humbled by the voters' support."
Donovan said running for the position and working as acting town justice made him want the job even more and work harder to obtain it.
"I am very excited to roll up my sleeves and get to work to make a difference as town judge," said Donovan.
Donovan thanked Egan, close friends and supporters along with Cunningham and his family for all their support.
"I'm really excited about the next four years."
Donovan's wife, Brooke, along with his mother and father, Tom and Peggy Donovan, were on hand at Beff's celebrating his victory.
"I can't thank the volunteers enough," Donovan added.
In other local races, Democratic incumbent Michael McNulty easily defeated his Republican opponent Warren Redlich in the 21st Congressional District with 77 percent of the vote. McNulty will be a part of the sweeping Democratic majority in the House of Representatives in January as Democrats take control of the House. McNulty is a member of the House Ways and Means Committee.