 It lies approximately northeast of Przasnysz and north of Warsaw.The town was named based on the local legend of a beekeeper who saw a unicorn in the area, which was at the time a royal hunting preserve.According to the legend, Prince Janusz III Mazowiecki ordered the building of a hunting lodge on the spot, which he named Jednorożec, meaning "unicorn."