 Between 1376 and 1386 he served as an auxiliary bishop in the diocese of Gniezno.In 1388, king Władysław II of Poland sent Andrzej with a mission to baptise Lithuania.Following the creation of a diocese of Vilnius, Andrzej became its first bishop.