When was the first US military draft?

The first military draft was during the civil war.