Poisonous wine

Easy logic-puzzles interview practice: Poisonous wine.

A king has 1000 wine bottles (one poisoned), 10 prisoners, and 3 weeks until his party. Poison takes 3 weeks to kill. How can he identify the poisoned bottle?