Ka cika wannan jumlar: A lokacin yaƙe-yaƙe na Napoleon a Turai, Netherlands ta faɗi a hannun Faransa, kamar yadda mulkin mallaka a Gabashin Indies ya yi. A lokacin mulkin Daendels na ɗan gajeren lokaci, a matsayin ikon wakilin Faransa a Java, an fara gina Babban Hanyar Post a 1808. Hanyar, wacce ta tashi daga Anyer a Yammacin Java zuwa Panarukan a Gabashin Java, ta kasance hanyar samar da kayan soja kuma an yi amfani da ita wajen kare Java daga mamayar Burtaniya. A 1811, Java ta kasance
Biritaniya ta kama shi, ya zama mallakar Daular Burtaniya, kuma an nada Sir Stamford Raffles a matsayin gwamnan tsibirin. A shekara ta 1814, an mayar da Java zuwa ga Yaren mutanen Holland a karkashin yarjejeniyar Paris.