The suspect, Terron Oates, initially told police he and King had been in King's vehicle when they were robbed by a gunman who shot through one of the windows.
Investigators say Hamilton opened fire on the Latah County Courthouse late Saturday, killing an officer there before killing another man in a nearby church and taking his own life.