What becomes of the earnings received by the Federal Reserve Banks?

The earnings of the Federal Reserve Banks are primarily used to pay for the Federal Reserves Banks' operating expenses. Such as for salaries, utility expenses, and the cost of building upkeep. Monies left over are paid to the US Treasury.