The European Union has formally taken over peacekeeping duties in Bosnia-Herzegovina from NATO .