Please answer the given financial question based on the context.
Context: notes to consolidated financial statements bank subsidiaries gs bank usa , an fdic-insured , new york state-chartered bank and a member of the federal reserve system , is supervised and regulated by the federal reserve board , the fdic , the new york state department of financial services and the consumer financial protection bureau , and is subject to minimum capital requirements ( described below ) that are calculated in a manner similar to those applicable to bank holding companies . gs bank usa computes its capital ratios in accordance with the regulatory capital requirements currently applicable to state member banks , which are based on basel 1 as implemented by the federal reserve board , for purposes of assessing the adequacy of its capital . under the regulatory framework for prompt corrective action that is applicable to gs bank usa , in order to be considered a 201cwell-capitalized 201d depository institution , gs bank usa must maintain a tier 1 capital ratio of at least 6% ( 6 % ) , a total capital ratio of at least 10% ( 10 % ) and a tier 1 leverage ratio of at least 5% ( 5 % ) . gs bank usa has agreed with the federal reserve board to maintain minimum capital ratios in excess of these 201cwell- capitalized 201d levels . accordingly , for a period of time , gs bank usa is expected to maintain a tier 1 capital ratio of at least 8% ( 8 % ) , a total capital ratio of at least 11% ( 11 % ) and a tier 1 leverage ratio of at least 6% ( 6 % ) . as noted in the table below , gs bank usa was in compliance with these minimum capital requirements as of december 2012 and december 2011 . the table below presents information regarding gs bank usa 2019s regulatory capital ratios under basel 1 as implemented by the federal reserve board. .
|$ in millions|as of december 2012|as of december 2011|
|tier 1 capital|$ 20704|$ 19251|
|tier 2 capital|$ 39|$ 6|
|total capital|$ 20743|$ 19257|
|risk-weighted assets|$ 109669|$ 112824|
|tier 1 capital ratio|18.9% ( 18.9 % )|17.1% ( 17.1 % )|
|total capital ratio|18.9% ( 18.9 % )|17.1% ( 17.1 % )|
|tier 1 leverage ratio|17.6% ( 17.6 % )|18.5% ( 18.5 % )|
effective january 1 , 2013 , gs bank usa implemented the revised market risk regulatory framework outlined above . these changes resulted in increased regulatory capital requirements for market risk , and will be reflected in all of gs bank usa 2019s basel-based capital ratios for periods beginning on or after january 1 , 2013 . gs bank usa is also currently working to implement the basel 2 framework , as implemented by the federal reserve board . gs bank usa will adopt basel 2 once approved to do so by regulators . in addition , the capital requirements for gs bank usa are expected to be impacted by the june 2012 proposed modifications to the agencies 2019 capital adequacy regulations outlined above , including the requirements of a floor to the advanced risk-based capital ratios . if enacted as proposed , these proposals would also change the regulatory framework for prompt corrective action that is applicable to gs bank usa by , among other things , introducing a common equity tier 1 ratio requirement , increasing the minimum tier 1 capital ratio requirement and introducing a supplementary leverage ratio as a component of the prompt corrective action analysis . gs bank usa will also be impacted by aspects of the dodd-frank act , including new stress tests . the deposits of gs bank usa are insured by the fdic to the extent provided by law . the federal reserve board requires depository institutions to maintain cash reserves with a federal reserve bank . the amount deposited by the firm 2019s depository institution held at the federal reserve bank was approximately $ 58.67 billion and $ 40.06 billion as of december 2012 and december 2011 , respectively , which exceeded required reserve amounts by $ 58.59 billion and $ 39.51 billion as of december 2012 and december 2011 , respectively . transactions between gs bank usa and its subsidiaries and group inc . and its subsidiaries and affiliates ( other than , generally , subsidiaries of gs bank usa ) are regulated by the federal reserve board . these regulations generally limit the types and amounts of transactions ( including credit extensions from gs bank usa ) that may take place and generally require those transactions to be on market terms or better to gs bank usa . the firm 2019s principal non-u.s . bank subsidiaries include gsib , a wholly-owned credit institution , regulated by the fsa , and gs bank europe , a wholly-owned credit institution , regulated by the central bank of ireland , which are both subject to minimum capital requirements . as of december 2012 and december 2011 , gsib and gs bank europe were both in compliance with all regulatory capital requirements . on january 18 , 2013 , gs bank europe surrendered its banking license to the central bank of ireland after transferring its deposits to gsib . goldman sachs 2012 annual report 187 .
Question: in millions for 2012 and 2011 , what was the maximum tier 2 capital?


Answer: The answer is:39.0