From the city's origin until the 19th century, Germans were the dominant ethnic group. By the end of World War I 42% of the population of Pressburg spoke German as their native language, 40% Hungarian, and 15% Slovak.