He completed his primary education in 1954, then High School in Bystrica, obtaining a matriculation certificate in 1958. Wishing to devote himself to the clerical state, Martyniak studied theology at the Seminary in Wroclaw and graduated in 1964, receiving his priestly ordination by Archbishop Boleslaw Kominek's hands. He worked as a curate in the parish of the Roman Catholic Church of Guardian Angels in Walbrzych (1964).