On this day in 1941, seventeen-year-old Shaya “Shaike” Iwensky came within seconds of being shot by the Einsatzgruppen outside the city of Daugavpils, Latvian SSR. Sheer dumb luck — and a slight miscalculation by the Germans — saved his life.

Shaike was born and raised in Jonava, Lithuania and fled to Daugavpils with his brother when the Germans invaded the Soviet Union in June 1941. On June 29, he was arrested along with the other Jewish male adults in town. His brother, who was fifteen years old, was arrested alongside him, but released the same day because of his age.

For the next week and a half, Shaike was held in a crowded prison cell, fed almost nothing, and forced to work during the day.

On July 8, he noted “a change for the worse in our guards, an extraordinary meanness … In my worst fears, I could not have conjured up the kind of hell in which I now found myself.”

That day he and his comrades were stuck in a truly Sisyphean ordeal: forced to roll rocks up a hill, three men to a rock. They kept losing their grip and the rocks would slide back.

That night some other prisoners told him they had been forced to dig huge ditches, which were covered in chlorine.

The next day, the eighteenth day of Operation Barbarossa, Shaike found out what the ditches were for:

A series of shots … a short interruption and again shots … and again … It wasn’t long before we got the confirmation of what we’d been suspecting all along. One of the men in a neighboring cell stuck his head in the doorway, and said, “They are killing Jews. From the washroom window someone saw people lined up in the yard. They are from the first floor.”

Though this testimony specifically concerns a different massacre, in November of 1941, it gives a sense of the environment.

A couple of hours later, Shaike and the others from his part of the prison were ordered to leave and take all their belongings. They were marched down to the basement and made to empty their pockets into the “knee-deep rows of wallets, documents, pictures, watches, trinkets worthless to anyone else.” Then they were marched into the yard and formed into groups of twenty. Hoping to at least die with people he knew, Shaike stuck together with his old friends from Jonava.

The blue sky was almost clear, with only here and there a wisp of cloud. I looked up, and the thought hit me hard: I will never see the sky again.

It is said that, when a person faces death, his whole life flashes before him. But my thoughts were disjointed, disorderly; they tumbled through my mind rather like the flimsy clouds above, forming, changing shape, disappearing and reappearing … Catching myself picking at a hangnail, I thought, How silly. In a few minutes it will make no difference at all …

It occurred to me that reality was often quite unlike what we expect it to be. People standing in line to be killed didn’t look very different from those waiting to buy bread. Their faces, their eyes betray nothing of what is going on in their minds. People stand in line under the hot sun, they move ahead, then their times comes to die, and it is over.

Shaike and his friends waited in line for over two hours in the heat. He had not thrown out his handkerchief and was glad to have it to wipe the sweat from his face. Finally he and his group of twenty arrived at the gate … but when the soldiers came out, they didn’t escort them to the ditches. Instead they ordered everyone to turn around and march back to the prison.

That evening, the prisoners were ordered out again and taken to the killing ground, and then they realized what had happened: the Nazis had spared them because they had run out of ditches. The Jews had to cover the mass graves with earth, stamping down on the bodies and packing them together, and also to dig new trenches, presumably for themselves, until evening when they were sent back to the prison again.

That night, Shaike and some of his friends hid in an empty cell under blankets. The Nazis didn’t find them the next morning when they ordered the survivors out to get shot. They hid in the cell for two days before they were caught. Fortunately the Latvian guards who found them didn’t realize who they were, and merely beat them and tossed them in with some prisoners who’d arrived that same day.

Eventually, Shaike was released from the prison and taken to the Daugavpils Ghetto. He would eventually escape from there and spent some time living in the woods with a Soviet partisan detachment, going back and forth between there and the ghetto. Finally he was captured and taken first to the Stutthof Concentration Camp, then to Dachau. There he was liberated by Americans on April 29, 1945. At twenty years old, he was the sole survivor of his family.