Please answer the given financial question based on the context.
Context: notes to consolidated financial statements derivatives with credit-related contingent features certain of the firm 2019s derivatives have been transacted under bilateral agreements with counterparties who may require the firm to post collateral or terminate the transactions based on changes in the firm 2019s credit ratings . the firm assesses the impact of these bilateral agreements by determining the collateral or termination payments that would occur assuming a downgrade by all rating agencies . a downgrade by any one rating agency , depending on the agency 2019s relative ratings of the firm at the time of the downgrade , may have an impact which is comparable to the impact of a downgrade by all rating agencies . the table below presents the aggregate fair value of net derivative liabilities under such agreements ( excluding application of collateral posted to reduce these liabilities ) , the related aggregate fair value of the assets posted as collateral , and the additional collateral or termination payments that could have been called at the reporting date by counterparties in the event of a one-notch and two-notch downgrade in the firm 2019s credit ratings. .
|in millions|as of december 2013|as of december 2012|
|net derivative liabilities under bilateral agreements|$ 22176|$ 27885|
|collateral posted|18178|24296|
|additional collateral or termination payments for a one-notch downgrade|911|1534|
|additional collateral or termination payments for a two-notch downgrade|2989|2500|
additional collateral or termination payments for a one-notch downgrade 911 1534 additional collateral or termination payments for a two-notch downgrade 2989 2500 credit derivatives the firm enters into a broad array of credit derivatives in locations around the world to facilitate client transactions and to manage the credit risk associated with market- making and investing and lending activities . credit derivatives are actively managed based on the firm 2019s net risk position . credit derivatives are individually negotiated contracts and can have various settlement and payment conventions . credit events include failure to pay , bankruptcy , acceleration of indebtedness , restructuring , repudiation and dissolution of the reference entity . credit default swaps . single-name credit default swaps protect the buyer against the loss of principal on one or more bonds , loans or mortgages ( reference obligations ) in the event the issuer ( reference entity ) of the reference obligations suffers a credit event . the buyer of protection pays an initial or periodic premium to the seller and receives protection for the period of the contract . if there is no credit event , as defined in the contract , the seller of protection makes no payments to the buyer of protection . however , if a credit event occurs , the seller of protection is required to make a payment to the buyer of protection , which is calculated in accordance with the terms of the contract . credit indices , baskets and tranches . credit derivatives may reference a basket of single-name credit default swaps or a broad-based index . if a credit event occurs in one of the underlying reference obligations , the protection seller pays the protection buyer . the payment is typically a pro-rata portion of the transaction 2019s total notional amount based on the underlying defaulted reference obligation . in certain transactions , the credit risk of a basket or index is separated into various portions ( tranches ) , each having different levels of subordination . the most junior tranches cover initial defaults and once losses exceed the notional amount of these junior tranches , any excess loss is covered by the next most senior tranche in the capital structure . total return swaps . a total return swap transfers the risks relating to economic performance of a reference obligation from the protection buyer to the protection seller . typically , the protection buyer receives from the protection seller a floating rate of interest and protection against any reduction in fair value of the reference obligation , and in return the protection seller receives the cash flows associated with the reference obligation , plus any increase in the fair value of the reference obligation . credit options . in a credit option , the option writer assumes the obligation to purchase or sell a reference obligation at a specified price or credit spread . the option purchaser buys the right , but does not assume the obligation , to sell the reference obligation to , or purchase it from , the option writer . the payments on credit options depend either on a particular credit spread or the price of the reference obligation . goldman sachs 2013 annual report 147 .
Question: in millions for 2013 and 2012 , what was maximum net derivative liabilities under bilateral agreements?


Answer: The answer is:27885.0