Rapid erratic motion of a 'star'-like light, ending with trenmendous speed over the horizon.

This to replace my previous posting which somehow got messed up. Two of us watched as a 'star' began to move erratically, first in one direction, then another, then would stop, then move again, in a small pattern of triangular motion. After a few minutes of this activity, the light moved away quickly, accelerating at enormous speed and disappeared over the horizon. The entire event was maybe four minutes.