Stations may sign affiliation agreements with one of the national networks for the local rights to carry their programming; these contracts can last anywhere from one to ten years, although such agreements often last on average between four and six years.