the only witnessThe adjective agrees with the noun in gender, number, and grammatical case. The exact phrase “единственный свидетель” is used in the nominative case, while forms such as “единственным свидетелем” mean “the only witness” in other grammatical contexts.