 In 1811, Java was captured by the British, becoming a possession of the British Empire, and Sir Stamford Raffles was appointed as the island's Governor.In 1814, Java was returned to the Dutch under the terms of the Treaty of Paris.In 1815, there may have been five million people in Java.