During the Warring States period, a device called a Si Nan became the forerunner of the compass. In the 11th century, tiny needles made of magnetized steel were invented. One end of the needle points north while the other points south. The compass was thus created.