Who invented the first steam engine and what year?

James Watts-late 1700's