CREATE TABLE table_8044 ("Name" TEXT, "Death" TEXT, "Assumed Office" TEXT, "Left Office" TEXT, "Years in office" TEXT, "Monarch" TEXT)

How many years in office were served by the person who assumed the office on October 4, 1886?
SELECT "Years in office" FROM table_8044 WHERE "Assumed Office" = 'october 4, 1886'
SELECT "Years in office" FROM "table_8044" WHERE "Assumed Office" = 'october 4, 1886'