The Nubian civilization was located along the Nile River in what is now southern Egypt and northern Sudan. It was strongly influenced by ancient Egypt, adopting Egyptian religious beliefs, styles of art and architecture, and systems of hieroglyphic writing. At times Nubia was conquered by Egypt, but it also conquered Egypt on some occasions and ruled over both lands. The Nubian civilization lasted from around 3000 BC to AD 1500, with some key periods including the Kingdom of Kush and the empire of Meroe.