After winning the California and South Dakota primary elections for the Democratic nomination for President of the United States , Kennedy was shot as he walked through the kitchen of the Ambassador Hotel and died in the Good Samaritan Hospital twenty-six hours later.