User: Who and when was the compass invented?
Assistant: Over 2000 years ago by the Chinese, by magnetizing needles made from iron, and placing them in water