 After his studies, Giedraitis worked as a secretary at the Grand Duke's chancellery.Together with his brother Kasparas, he signed the Union of Lublin in 1569 which established the Polish–Lithuanian Commonwealth.In Vilnius, Giedraitis was noticed by Bishop of Vilnius Walerian Protasewicz who offered him a teaching position and likely encouraged to become a priest.