He studied the foundations of geometry with Hilbert at Göttingen in 1899, and obtained a proof of the Jordan curve theorem for polygons.
Dehn's interests later turned to topology and combinatorial group theory.