Doylestown is a borough and the county seat of Bucks County in the U.S. state of Pennsylvania. It is located 27 miles (43 km) north of Philadelphia and 80 miles (130 km) south of New York City. As of the 2010 census, the borough population was 8,380.
Doylestown's origins date to 1745 when William Doyle obtained a license to build a tavern on what is now the northwest corner of Main and State Street. Known for years as "William Doyle's Tavern," its strategic location — at the intersection of the road (now U.S. Route 202) linking Swede's Ford (Norristown) and Coryell's Ferry (New Hope) and the road (now PA Route 611) linking Philadelphia and Easton — allowed the hamlet to blossom into a village. The first church was erected in 1815, followed by a succession of congregations throughout the 19th century.As the population of Central and Upper Bucks County grew throughout the 18th and into the 19th century, discontent developed with the county seat's location in Newtown, where it had been since 1725. The county seat moved north to the more centrally located Doylestown in 1813. An outgrowth of Doylestown's new courthouse was the development of "lawyers row", a collection of Federal-style offices. One positive consequence of early 19th-century investment in the new county seat was organized fire protection, which began in 1825 with the Doylestown Fire Engine Company.In 1838 the Borough of Doylestown was incorporated.An electric telegraph station was built in 1846, and in 1856 the North Pennsylvania Railroad completed a branch to Doylestown. The first gas lights were introduced in 1854.