The United Nations Security Council on Thursday unanimously agreed to extend the U.N. mission in Afghanistan for another year .