The race began on North Carolina State University's Centennial Campus at 7 a.m.
Race organizers said the course was designed to showcase highlights of Raleigh, including the new Fayetteville Street, State Capital building, Glenwood South, Meredith College, N.C. State's Bell Tower and Umstead.
Nearly 700 runners completed the full marathon, and more than 2,500 crossed the finish line for the half marathon.
The Triangle was represented well among the winners, with John Crews, 24, of Raleigh, taking first place in the full marathon with a time of 2:21:27. He was followed by Jackson Kipngetuny, 31, of Durham with a time of 2:26:54, according to the event's Web site.
Heather Davis, of Raleigh, was the female winner with a time of 3 hours and 2 minutes.
Joseph Ngetich, 23, of Kennesaw, Ga., won the half marathon with a time of 1:05:42.
This event paid out around $12,000 to winners of both races.
The inaugural edition of the City of Oaks marathon in 2007 marked the first time a marathon was held in North Carolina's capital in five years. Organizers said they wanted to bring a prestigious running event, like those in other state capitals, to Raleigh.
Last year, more than 3,800 runners registered for the event, and over 3,100 managed to complete the full or half marathon.