Theodore Roosevelt was appointed a second lieutenant in Company B, Eighth Regiment, New York National Guard in 1882. He resigned from the National Guard as a captain in 1886. Years later, he described his experience in the National Guard as "invaluable." With a clear memory of his experiences in the National Guard and as a colonel with the United States Army in Cuba during the Spanish-American War, Roosevelt became 26th president of the United States in 1901. His first message to the United States Congress called for a "thorough military education" not only for the Regulars but for officers of the Guard "and others in civil life who desire intelligently to fit themselves for possible military duty." Roosevelt stated, "I believe no other great country has such fine natural materials for volunteer Soldiers as we have. It is the obvious duty of the nation and the states to make such provision as will enable the volunteer soldiery to be organized with rapidity and efficiency in a time of war and to help the National Guard in time of peace. Roosevelt was instrumental in enacting much of the legislation which modernized the National Guard. By the time he left office, the National Guard had been incorporated with the Army as part of the nation's military forces with uniform equipment, clothing, and training.