Lancaster was capital of Pennsylvania from 1799 to 1812 , after which the capital was moved to Harrisburg .
Lancaster was capital of Pennsylvania again from 1799 to 1812 , after which the capital was moved to Harrisburg .