Why Did Ellis Island Close?

Ellis Island was going strong for a while and them World War 1 changed all that. It was used to detain possible enemies and it was later used to house sick and wounded. The end of it finally came when congress passed The immigration Act limiting immigration.