distance into the community at a junction with Edgewood Avenue, giving way to Main Street. The Main Street name continues into the adjacent Village of the Branch, where NY 25 and NY 25A split at an intersection that also serves as the northern terminus of NY 111. The latter route heads to the South Shore of Long Island while NY 25 continues eastward and NY 25A heads northeast toward St. James and Stony Brook as North Country Road. This section of NY 25A runs along the Port Jefferson Branch of the Long Island Rail Road (LIRR) and is also mostly part of NY Bike Route 25, with occasional diversions. Along this stretch, NY 25A passes the Stony Brook Museum and Carriage House and Stony Brook University. On the eastern edge of the Stony Brook campus, the route intersects with the north end of CR 97 (Nicolls Road). It continues on a generally northeasterly track to East Setauket, where it turns to head due east toward Port Jefferson. It enters the village as West Broadway, but turns south onto Main Street once the road reaches the harbor. NY 25A follows Main Street southeastward to Port Jefferson Station, home to the end of the LIRR's Port Jefferson Branch and NY 25A's junction with the north end of NY 112. At the latter, NY 25A makes a sharp turn to the east, heading through the hamlet on Hallock Avenue toward its intersection with NY 347 (Nesconset Highway). NY 347 ends here, and NY 25A briefly becomes a wider highway to match the width of the former road. About from NY 347, NY 25A intersects with CR 83 (Patchogue–Mount Sinai Road). From here, the road passes through Mount Sinai and Miller Place before splitting again to bypass Rocky Point. The old path of the road passes through the community while NY 25A veers south of the hamlet. They reconnect east of Rocky Point to continue toward Shoreham and an intersection with CR 46 (William Floyd Parkway) near Brookhaven State Park. NY 25A continues east for another through Wading River to a fork in the road at Calverton National Cemetery, where the route veers southeast while Sound Avenue, the other leg of the fork, heads due east towards the North Fork of Long Island. NY 25A runs along the eastern edge of the cemetery and through part of the Brookhaven National Laboratory grounds before ending