Bohemia , an autonomous part of Austria-Hungary until 1918 , competed at some of the early modern Olympic Games .
It was an autonomous part of Austria-Hungary until 1918 .