The first known dictionary is credited to the Chinese scholar Xu Shen (许慎), published around 100 AD. Titled Shuowen Jiezi (说文解字), it analyzed Chinese characters' structure and meaning, laying foundations for Chinese lexicography.
In the Western tradition, early monolingual dictionaries appeared much later (e.g., Robert Cawdrey's A Table Alphabeticall, 1604).