What two reasons caused the US to enter World War 1?

Unrestricted submarine warfare and the Zimmerman Telegraph