Was Karl Marx German or Russian?

Karl Marx was born on May 5, 1818. in Trier, Prussia which is now Germany.
The town of Trier is near the German border with Luxembourg.