Baudhayana (or Budhayana), an ancient Indian mathematician from circa 800 BCE, documented the Pythagorean theorem in his Baudhayana Sulba Sutra, predating Pythagoras (circa 570-495 BCE) by several centuries. The theorem was known to ancient Indian, Babylonian, and Chinese mathematicians before Pythagoras. Option C is correct.