Independence was attained on 9 July 2011 .