The event brought about the adoption of the 25th amendment is that President John F. Kennedy was assassinated and was succeeded by Vice President Johnson, who had heart problems himself.
The 25th Amendment to the U.S Constitution compromise in succession to the Presidency and establishes procedures both for filling a vacancy in the office of the Vice President as well as responding to Presidential disabilities.