 He instead matriculated at Kansas City Community College and began vigorously petitioning Missouri Senator James A. Reed for an appointment to the Naval Academy.In part due to the influence of the Pendergast machine, the Naval Academy admitted him in June 1925.Heinlein's experience in the Navy exerted a strong influence on his character and writing.