Established in 1891 , the British protectorate of Nyasaland became the independent nation of Malawi in 1964 .