The Nyaya school of Hinduism influenced all other schools of Hindu philosophy, as well as Buddhism. Despite their differences, these scholars studied with each other and debated ideas, with Tibetan records suggesting that Buddhist scholars spent years residing with Hindu Nyaya scholars to master the art of reasoning and logic. This cooperation has enabled scholars to place the currently surviving version of the "Nyayasutras", to a terminus ante quem (completed before) date of about the 2nd century CE, because one of the most famous and established Buddhist scholars of that era, Nagarjuna, explicitly states, "sutra 4.2.25 is addressed against the Madhyamika system" of Buddhism. Other ancient Buddhist texts confirm that Nyayasutras existed before them, and the text is considered the primary text of old Nyaya school of Hinduism.