Officials say the kidnappers had demanded safe passage in return for freeing the students .