 Lincoln, of course, was president and commander-in-chief, but both Garfield and McKinley were officers in the Union Army. And then Kennedy, of course, was a Democrat. The first attempt to try to assassinate a U.S. president occurred in January of 1935 when Richard Lawrence tried to shoot Andrew Jackson after Jackson left a funeral service in the House of Representatives.