No one is sure exactly when and who the compass was invented by. It was supposedly made in the 3rd century BCE though, and was made for the use of Feng Shui practitioners to "align" the forces of the...
The magnetic compass was made in China the second century AD. The Norse seamen of around 900 AD had magnetite rock that they used as a magnetic compass.