Is a samurai sword Japanese or Chinese?

Samurai were from Japan, and the samurai sword is from Japan.