Question: What was Kennedy campaigning for at the time?
About the article "Assassination of Martin Luther King, Jr.", section "Robert F. Kennedy speech".

Candidate passages:
The organization "Sean's Last Wish Foundation" was established by Sean's mother, Elke Kennedy, two weeks after his death.
Elke Kennedy spent two years campaigning for the passage of federal hate crimes legislation; the Hate Crime Prevention Act was signed into law by President Barack Obama on October 28, 2009, with Elke Kennedy in attendance at the ceremony at the White House. 
U.S. Attorney General Robert F. Kennedy, the younger brother to president John F. Kennedy, befriended Plisetskaya, with whom he coincidentally shared the same birth date.
She was invited to gatherings with Kennedy and his family at their estate on Cape Cod in 1962.
They later named their sailboat “Maya”, in her honor.
As the Cuban Missile Crisis had ended a few weeks earlier, at the end of October, 1962, U.S. and Soviet relations were at a low point.
Diplomats of both countries considered her friendship with Kennedy to be a great benefit to warmer relations, after weeks of worrisome military confrontation.
Years later, when they met in 1968, he was then campaigning for the presidency, and diplomats again suggested that their friendship would continue to help relations between the two countries.
Plisetskaya summarizes Soviet thoughts on the matter:Of their friendship, Plisetskaya writes in her autobiography:Robert Kennedy was assassinated just days before he was to see Plisetskaya again in New York.
Gershunoff, Plisetskaya's manager at the time, recalls that on the day of the funeral, most of the theaters and concert halls in New York City went “dark,” closed in mourning and respect.
The Bolshoi likewise planned to cancel their performance, but they decided instead to do a different ballet than planned, one dedicated to Kennedy.
Gershunoff describes that evening: 
Joseph Kennedy, in this timeline, was a Democratic Party organizer in Boston, Massachusetts.
Although married to Rose Kennedy and the father of Joseph P. Kennedy, Jr., he attempted to seduce Sylvia Enos, who was a minor heroine for killing Roger Kimball, and was campaigning for him at his political rallies.
After the Second Great War, Kennedy helped obtain the discharge of George Enos Jr., from the Navy to allow him to return to civilian life. 
President-elect William McKinley reportedly spent the night of November 5, 1896, at the Sherbrook House in Sherbrooke, then the county seat of Steele County.
This was after his election but prior to taking the oath of office in 1897.
Harry Truman revisited the state after his time as President was done before the midterm elections in 1958 to blast Republicans and the Eisenhower administration for its farm policies.
Before visiting the state in 1963, John F. Kennedy also came several times during the late 1950s and early 1960s when he was campaigning for President.
He stopped at towns such as Jamestown and Dickinson.
President Richard Nixon visited the state many times before his two visits as President; he came during the 1950s and 1960s while he was Vice President.
Lyndon Johnson and Jimmy Carter never came as President, but both visited the state campaigning for the job in 1960 and 1976 respectively.
Taft visited in 1920. 
 While campaigning for the presidency in Greensboro, North Carolina, Richard Nixon bumped his left knee with a car door.
What seemed, at first, to be a minor injury, led to an infection and Nixon's hospitalization on August 29.
Nixon's illness was cited by some political observers as a factor in his unsuccessful campaign against John F. Kennedy for the Presidency.
Gabon, formerly part of French Equatorial Africa, gained independence.
An Aeroflot Il-18 airliner caught fire and crashed near Kiev, killing all 27 persons on board.