in history
Hanzo was born as the son of Hattori Yasunaga, a minor samurai in the service of the Matsudaira (later Tokugawa) clan. He would later earn the nickname Oni no Hanzo ( Devil Hanzo because of the fearless tactics he displayed in his operations; this is to distinguish him from Watanabe Hanzo (Watanabe Moritsuna), who is nicknamed Yari no Hanzo ( Spear Hanzo
Though Hanzo was born and raised in Mikawa Province, he often returned to Iga Province, home of the Hattori family. He fought his first battle at the age of 16 (a night-time attack on Udo castle and went on to serve with distinction at the battles of Anegawa (1570) and Mikatagahara (1572). His most valuable contribution came in 1582 following Oda Nobunaga's death, when he led the future shogun Tokugawa Ieyasu to safety in Mikawa Province across Iga territory with the help of remnants of the local Iga ninja clans as well as their one-time rivals in Koga.According to some sources, Hanzo also helped in rescuing the captured family of Ieyasu
in anime/manga
he is painted as the antagonist [ or out and evil force ] of story having being the main person in the assassin team set after sasuke 's Father much like in real history he his said to serve the Matsudaira