Beer has been brewed on the domestic level since its advent , thousands of years prior to its commercial production .
Beer 's legality has varied according to local regulation .
Beer has been brewed on the domestic level since its advent , thousands of years prior to its commercial production , although its legality has varied according to local regulation .