 Marxist and socialist ideologies emerged in Croatia during the late 19th century while it was under the rule of the Austria-Hungary empire.In 1894, the Social Democratic Party of Croatia and Slavonia was formed.It was the first workers party of its kind in Croatia at the time.