The swamp sparrow is a medium-sized sparrow related to the song sparrow. Adults have streaked rusty, buff and black upperparts with an unstreaked gray breast, light belly and a white throat. The wings are strikingly rusty. Most males and a few females have rust-colored caps. Their face is gray with a dark line through the eye. They have a short bill and fairly long legs. Immature birds and winter adults usually have two brown crown stripes and much of the gray is replaced with buff. Swamp sparrows breed across the northern United States and boreal Canada. The southern edge of their breeding range coincides largely with the Line of Maximum Glaciation. A small number of morphologically distinct birds inhabit tidal marshes from northern Virginia to the Hudson River Estuary. This subspecies winters in coastal marshes of the Carolinas and differs from the two inland swamp sparrow subspecies in having more black in a grayer overall plumage, larger bill, different songs, and a smaller average clutch size. Their breeding habitat is marshes, including brackish marshes, across eastern North America and central Canada. The bulky nest is attached to marshvegetation, often just above the ground or surface of the water with leaves or grass arching over the top. The female builds a new nest each year and lays an average of four eggs per clutch. Females give a series of chips as they leave the nest, probably to ward off attacks by their mate or neighboring males. While swamp sparrows can be found year-round in small numbers on the southern edge of their breeding range, individuals are probably all migratory, primarily migrating to the southeastern United States. Swamp sparrows generally forage on the ground near the water's edge, in shallow water or in marsh vegetation. In winter, their diet is principally fruit and seeds, while during the breeding season their diet is mainly arthropods. The song of the swamp sparrow is a slow monotone trill, slower than that of the chipping sparrow. A male can have a repertoire of several different trills. The common call note is a loud chip reminiscent of a phoebe. This bird's numbers have declined due to habitat loss in some parts of its range.