 The population was 5,792 at the 2010 census.It is the county seat of Union County.Located in central Pennsylvania's Susquehanna River Valley, on the West Branch Susquehanna River, Lewisburg is northwest of Sunbury.