Donald J. Trump cast his ballot at Manhattan’s Public School 59, a school just blocks from his home and office at Trump Tower, on Tuesday.

Despite polls showing he has a tough road ahead, the Republican nominee, wearing a dark coat and blue tie, exuded confidence as he smiled, waved and walked under basketball rims in the school’s gym accompanied by his wife, Melania, and daughter Ivanka.

He was met with a mix of cheers and boos as he left his motorcade and waved to pedestrians. Inside, he was greeted by more booing.