  prince edward county is a county located in the commonwealth of virginia. as of the 2010 census, the population was 23,368. its county seat is farmville. ==history== thumb|right|prince edward, duke of york and albany, for whom the county was named ===formation and county seats=== prince edward county, virginia was formed in the virginia colony in 1754 from amelia county. it was named for prince edward, second son of frederick, prince of wales and younger brother of george iii of the united kingdom. the original county seat housed the courthouse and was called prince edward courthouse; it is now the village of worsham. near the headwaters of the appomattox river, the town of farmville was formed in 1798, and was incorporated in 1912. the county seat was moved from worsham to farmville in 1871. ===railroads=== in the 1850s, the southside railroad between petersburg and lynchburg was built through farmville between burkeville and pamplin city. the route, which was subsidized by a contribution from farmville, required an expensive crossing of the appomattox river slightly downstream which became known as the high bridge. the southside railroad was heavily damaged during the american civil war. the high bridge played a key role during confederate general robert e. lee's final retreat from petersburg to appomattox courthouse, where the surrender to union general ulysses s. grant took place in april, 1865. after the civil war, under the leadership of former confederate general [[william mahone|william 
1754_establishments Prince_Edward_County,_Virginia Virginia_counties