Why was Homeland Security Created?

Homeland security was created to deal with the growing threat of terrorism in this country. This was implemented in the aftermath of 9-11.