The military , which took over full responsibility for security following the departure of UN peacekeepers at the end of 2005 , is increasingly developing as a guarantor of the country 's stability .