Background
He was the son of January Mastalerz (1858–1947), train driver, and née Dobke Sophia (1875–1937).
He was the son of January Mastalerz (1858–1947), train driver, and née Dobke Sophia (1875–1937).
He attended high school in Czestochowa. After his release he moved to Warsaw, where he attended school.
He belonged to the National Youth Organisation of Secondary Schools and the Organization of the Polish Youth "Future" ( Positron Emission Tomography). In September 1912 he co-founded the scout team At the end of 1912, as a student of class VII, he was arrested by the Russians and taken into custody in Czestochowa.
Fearing re-arrest, he moved to Lviv, and there continued his studies at Matura courses.
In 1914, he passed the examinations From 1914 he served in a Squadron 1st Regiment of Cavalry of the First Brigade of the Polish Legions.
After the oath crisis from July 1917 to 1918 he was interned in Szczypiorno near Kalisz, then in Lomza. From November 1918 he served in a Cavalry Regiment.
He participated in the defense of Lviv, then in the Polish-Bolshevik War.
In April 1919 he was appointed second lieutenant, and in August 1920 he was promoted to lieutenant and captain. In 1925–1926 he served in Korpus Ochrony Pogranicza and in May 1926 he was promoted to the rank of Major. In 1926–1930 he served again in the 1st Regiment of Cavalry.
In 1930 he was appointed lieutenant colonel.
In March 1930 in Cracow, Mastalerz took command of the 8 Cavalry Regiment. He held this position until 1939.
In 1934, he was promoted to colonel. On 1 August 1939 he was appointed to command the 18th Pomeranian Cavalry Regiment, which was part of the Pomeranian Cavalry Brigade.
Mastalerz saw action in the German Invasion of Poland at the outset of World World War World War II On 1 September he died commanding his cavalry unit during the Charge at Krojanty, when he was cut down by machine gun fire.
He was killed while trying to rescue Eugeniusz Świeściak, the commander of the 1st Squadron of the 18th Pomeranian Cavalry. He was buried at the cemetery in Chojnice.
During this period he was a member of the Polish Rifle Teams.