In 1905 , following the Russo-Japanese War , Korea became a protectorate of imperial Japan , and in 1910 it was annexed as a colony .