The discovery offers a glimpse into burial customs practiced centuries before Poland emerged as a state.