table of contents adobe inc . notes to consolidated financial statements ( continued ) certain states and foreign jurisdictions to fully utilize available tax credits and other attributes . the deferred tax assets are offset by a valuation allowance to the extent it is more likely than not that they are not expected to be realized . we provide u.s . income taxes on the earnings of foreign subsidiaries unless the subsidiaries 2019 earnings are considered permanently reinvested outside the united states or are exempted from taxation as a result of the new territorial tax system . to the extent that the foreign earnings previously treated as permanently reinvested are repatriated , the related u.s . tax liability may be reduced by any foreign income taxes paid on these earnings . as of november 30 , 2018 , the cumulative amount of earnings upon which u.s . income taxes have not been provided is approximately $ 275 million . the unrecognized deferred tax liability for these earnings is approximately $ 57.8 million . as of november 30 , 2018 , we have net operating loss carryforwards of approximately $ 881.1 million for federal and $ 349.7 million for state . we also have federal , state and foreign tax credit carryforwards of approximately $ 8.8 million , $ 189.9 million and $ 14.9 million , respectively . the net operating loss carryforward assets and tax credits will expire in various years from fiscal 2019 through 2036 . the state tax credit carryforwards and a portion of the federal net operating loss carryforwards can be carried forward indefinitely . the net operating loss carryforward assets and certain credits are reduced by the valuation allowance and are subject to an annual limitation under internal revenue code section 382 , the carrying amount of which are expected to be fully realized . as of november 30 , 2018 , a valuation allowance of $ 174.5 million has been established for certain deferred tax assets related to certain state and foreign assets . for fiscal 2018 , the total change in the valuation allowance was $ 80.9 million . accounting for uncertainty in income taxes during fiscal 2018 and 2017 , our aggregate changes in our total gross amount of unrecognized tax benefits are summarized as follows ( in thousands ) : .

1	2018	2017
2	beginning balance	$ 172945	$ 178413
3	gross increases in unrecognized tax benefits 2013 prior year tax positions	16191	3680
4	gross decreases in unrecognized tax benefits 2013 prior year tax positions	-4000 ( 4000 )	-30166 ( 30166 )
5	gross increases in unrecognized tax benefits 2013 current year tax positions	60721	24927
6	settlements with taxing authorities	2014	-3876 ( 3876 )
7	lapse of statute of limitations	-45922 ( 45922 )	-8819 ( 8819 )
8	foreign exchange gains and losses	-3783 ( 3783 )	8786
9	ending balance	$ 196152	$ 172945

the combined amount of accrued interest and penalties related to tax positions taken on our tax returns were approximately $ 24.6 million and $ 23.6 million for fiscal 2018 and 2017 , respectively . these amounts were included in long-term income taxes payable in their respective years . we file income tax returns in the united states on a federal basis and in many u.s . state and foreign jurisdictions . we are subject to the continual examination of our income tax returns by the irs and other domestic and foreign tax authorities . our major tax jurisdictions are ireland , california and the united states . for ireland , california and the united states , the earliest fiscal years open for examination are 2008 , 2014 and 2015 , respectively . we regularly assess the likelihood of outcomes resulting from these examinations to determine the adequacy of our provision for income taxes and have reserved for potential adjustments that may result from these examinations . we believe such estimates to be reasonable ; however , there can be no assurance that the final determination of any of these examinations will not have an adverse effect on our operating results and financial position . the timing of the resolution of income tax examinations is highly uncertain as are the amounts and timing of tax payments that are part of any audit settlement process . these events could cause large fluctuations in the balance of short-term and long- term assets , liabilities and income taxes payable . we believe that within the next 12 months , it is reasonably possible that either certain audits will conclude or statutes of limitations on certain income tax examination periods will expire , or both . given the uncertainties described above , we can only determine a range of estimated potential effect in underlying unrecognized tax benefits ranging from $ 0 to approximately $ 45 million. .

Question: what was the total gross amount of unrecognized tax benefits in 2018?
Answer: 196152