When did Austria invade Serbia in World War I ?
Austria - Hungary precipitated the Bosnian crisis of 1908–09 by annexing the former Ottoman territory of Bosnia and Herzegovina , which it had occupied since 1878 .