query: When did Barack Obama write his autobiography?
passage: Dreams from My Father
Dreams from My Father: A Story of Race and Inheritance (1995) is a memoir by Barack Obama, who was elected as U.S. President in 2008. The memoir explores the events of Obama's early years in Honolulu and Chicago up until his entry into law school in 1988. Obama published the memoir in July 1995, when he was starting his political campaign for Illinois Senate.[1] He had been elected as the first African-American president of the Harvard Law Review in 1990.[2] According to The New York Times, Obama modeled Dreams from My Father on Ralph Ellison's novel Invisible Man.[3]
passage: List of autobiographies by presidents of the United States
Many presidents of the United States have written autobiographies about their presidencies and/or (some periods of) their life before their time in office. Some 19th-century U.S. presidents who wrote autobiographies are James Buchanan and Ulysses S. Grant, though Grant's autobiography is about his time as General during the U.S. Civil War and not about his presidency. Some of the more recent U.S. presidential autobiographies, such as Bill Clinton's, George W. Bush's, and Barack Obama's (written and published before he was elected president) sold well enough to earn them millions of dollars.