In canada, what was the Indian act and when did it take place?

In canada, what was the Indian act and when did it take place?