His book The Naval War of 1812 (1882) established his reputation as a learned historian and as a popular writer. Upon entering politics, he became the leader of the reform faction of Republicans in New York's state legislature. His wife and his mother both died in rapid succession, and he escaped to a cattle ranch in the Dakotas. The couple also raised Roosevelt's daughter from his first marriage, Alice, who often clashed with her stepmother.