Thousands of runners took to the streets for the New Jersey Marathon, cheered on by crowds who faced tighter security measures imposed after the bombings at the Boston Marathon.

Finish line of the New Jersey Marathon in Long Branch (The Link via Facebook)

Spectators were barred from bringing bags to areas near the start and finish lines of Sunday's race, and access to those areas was also limited. Some parking areas near the lines were closed and bomb-sniffing police dogs patrolled areas surrounding the course.

The marathon got underway in Oceanport and ended in Long Branch. The race was run only on roadways this year, since most Jersey Shore boardwalks were damaged by Superstorm Sandy.

The race was won by 30-year-old Oz Pearlman of New York City, who covered the 26.2 miles in 2 hours, 28 minutes and 23 seconds.