jamb (n.)

side-piece of an opening of a door, window, etc., early 14c., from Old French jambe "pier, side post of a door," originally "a leg, shank" (12c.), from Late Latin gamba "leg, (horse's) hock" (see gambol).