William Daniels, the 91-year-old actor best known for his role as the beloved teacher Mr. Feeny on the family sitcom “Boy Meets World,” reportedly spooked someone who attempted to break into his home on Saturday night, effectively scaring the potential burglar into leaving, TMZ reports.

Daniels and his wife, Bonnie Bartlett, were both present in their San Fernando Valley home when an unidentified person began trying to kick open the back door of the home at around 9 p.m. that night, so Daniels turned on the lights, which caused the would-be intruder to flee the scene, according to the outlet.

Authorities do not think that Daniels was specifically targeted, as many other celebrities have been in recent months, and instead believe that the attempt was completely random, TMZ reports.

A representative for the actor confirmed that no one was hurt during the attempted burglary in a brief statement to Fox News.

“Luckily, Mr. Daniels was able to frighten away the person and the LAPD quickly responded,” Daniels’ rep told the outlet. “They are both well. Mr. Daniels thanks all his fans for their concern.”

Actor Will Friedle, who co-starred on “Boy Meets World” alongside Daniels, reacted to the news on social media early Tuesday.

“Don’t ever mess with Mr. Feeny! #LoveYouBillAndBonnie,” he wrote on Twitter.

In addition to his memorable “Boy Meets World” role, which he reprised for the show’s 2014 sequel “Girl Meets World,” Daniels has enjoyed an extensive career in the entertainment industry, having taken home two Emmys for his role on “St. Elsewhere” and serving as the president of the Screen Actors Guild from 1999 to 2001.

[Photo: Getty Images]

Crime Time is your destination for true crime stories from around the world, breaking crime news, and information about Oxgen's original true crime shows and documentaries. Sign up for our Crime Time Newsletter and subscribe to our true crime podcast Martinis & Murder for all the best true crime content.