The practice of ageing brown ales in oak casks has likely been around since soon after the introduction of hops to brewing, many centuries ago.  Before hops were introduced, ale would soon oxidise to become malt vinegar.  Adding hops allowed brewers to preserve beers longer, a crucial step in making them tradable commodities.