James Gilliam, or James Kelly (before 1680 – 12 July 1701) was an English pirate and buccaneer active off the coasts of Spanish South and Central America and later in the Indian Ocean. He sailed under several different pirate captains but is best remembered for his brief association with William Kidd.