The world's first boardwalk was built in Atlantic City, New Jersey, in 1870. It was initially constructed to prevent beachgoers from tracking sand into the city's hotels and railway cars. Over time, boardwalks became iconic features of beachside towns and continue to attract visitors from all over.