The medieval settlement "Brezalauspurc" (literally: Braslav's castle) is sometimes attributed to Bratislava, but the actual location of Brezalauspurc is under scholarly debate. The city's modern name is credited to Pavol Jozef Šafárik's misinterpretation of "Braslav" as "Bratislav" in his analysis of medieval sources, which led him to invent the term "Břetislaw", which later became "Bratislav".