Trump declares victory amid turmoil