Located 28 mi/45 km northeast of Poznan and inhabited since the eighth century, Gniezno was once Poland's capital.