Timothy Bayliss is a fictional character on Homicide: Life on the Street, played by Kyle Secor and one of the few main characters to last the entire run of the show. He was loosely based on real-life Baltimore homicide detective Thomas Pellegrini, featured in David Simon's book Homicide: A Year on the Killing Streets, though Pellegrini was reportedly not at all a fan of his fictional alter ego. The character also appeared in the Law & Order episode "Charm City."