Tamron for Pentax and Nikon the same?

I seem to remember that the Pentax and Nikon mounts were the same, so the lens could be swapped. Is this true. I am looking at a Tamron AF 28-300 f3.5 XR LD lens for my Nikon D70.
A discussion forum - and more - for users of Digital Single Lens Reflex cameras.
https://d70users.net/
Z-man wrote:I seem to remember that the Pentax and Nikon mounts were the same, so the lens could be swapped. Is this true. I am looking at a Tamron AF 28-300 f3.5 XR LD lens for my Nikon D70.