What caused a major riot in New York in 1863?

The first US draft.