In this task, you are given text for US Congressional and California state bills, your task is to generate a summary for this bill.

SECTION 1. SHORT TITLE.

    This Act may be cited as the ``Buyback Our Safety Act''.

SEC. 2. GUN BUYBACK GRANT PROGRAM.

    (a) In General.--The Attorney General, through the Assistant 
Attorney General for the Office of Justice Programs of the Department 
of Justice, shall establish a gun buyback grant program under which the 
Assistant Attorney General may make grants to law enforcement agencies 
of States, units of local government, and Indian tribal governments to 
assist in funding gun buyback programs carried out by such agencies.
    (b) Gun Buyback Program Defined.--For purposes of this section, the 
term ``gun buyback program'' means, with respect to a law enforcement 
agency of a State, unit of local government, or Indian tribal 
government, a program carried out by such agency under which guns are 
purchased or surrendered to such agency.
    (c) Applications.--A law enforcement agency described in subsection 
(a) desiring a grant under this section shall submit to the Assistant 
Attorney General for the Office of Justice Programs an application for 
the grant, in accordance with subsection (d) and which shall be in such 
form and contain such information as the Assistant Attorney General may 
require.
    (d) Requirements.--The Assistant Attorney General may make a grant 
under this section to a law enforcement agency described in subsection 
(a), with respect to a gun buyback program, only if the application 
submitted under subsection (c) by such agency provides assurances 
that--
            (1) the law enforcement agency will adequately advertise 
        such program to the public;
            (2) such program will be administered by law enforcement 
        personnel;
            (3) all guns received through such program will remain in 
        the possession of law enforcement personnel;
            (4) adequate safeguards will be established and followed to 
        prevent the occurrence of fraud in such program;
            (5) the law enforcement agency will have in place a process 
        to test on site a gun purchased from an individual through such 
        program before payment is provided to such individual; and
            (6) an adequate process will be in place to destroy all 
        guns received through such program.
    (e) Matching Requirement.--
            (1) In general.--Subject to paragraph (2), to be eligible 
        for a grant under this section, a law enforcement agency must 
        certify that the law enforcement agency will match all Federal 
        funds provided under such grant with an equal amount of cash or 
        in-kind goods or services from other non-Federal sources.
            (2) Waiver.--The Assistant Attorney General for the Office 
        of Justice Programs may waive, wholly or in part, the matching 
        requirement under paragraph (1) with respect to a grant made 
        under this section to a law enforcement agency for a gun 
        buyback program if such program provides for obtaining only the 
        guns identified by the National Academy of Sciences pursuant to 
        subsection (f).
    (f) National Academy of Sciences Standards.--The Attorney General, 
through the Assistant Attorney General for the Office of Justice 
Programs, shall enter into an arrangement with the National Academy of 
Sciences to develop standards for identifying, and identify, guns that 
are the most likely to be used in violent crimes and establish a 
pricing scale for purchasing guns so identified through gun buyback 
programs receiving grants under this section.
    (g) Reports.--
            (1) Reports required by grantees.--In the case of a law 
        enforcement agency described in subsection (a) receiving a 
        grant under this section with respect to a gun buyback program, 
        such agency shall submit to the Assistant Attorney General for 
        the Office of Justice Programs--
                    (A) not later than 90 days after receipt of such 
                grant and every 90 days thereafter during the period 
                for which the program is carried out, a report 
                including--
                            (i) the number and types of guns collected 
                        and destroyed through such program during such 
                        period; and
                            (ii) recommendations for improving future 
                        gun buyback programs in the jurisdiction of 
                        such agency; and
                    (B) not later than 90 days after the last day of 
                such program, a final report including the information 
                described in each of subclauses (I) and (II) of clause 
                (i) with respect to the duration of the program.
            (2) Reports by the office of justice programs.--Not later 
        than one year after the date of the enactment of this section 
        and annually thereafter, the Assistant Attorney General for the 
        Office of Justice Programs shall submit to Congress a report 
        on--
                    (A) the number of gun buyback programs that 
                received funding under this section;
                    (B) the number of guns received through each such 
                gun buyback program;
                    (C) the total number of guns purchased through all 
                such gun buyback programs; and
                    (D) recommendations on improving the grant program 
                under this section and gun buyback programs.
    (h) Definitions.--For purposes of this section:
            (1) State.--The term ``State'' means each of the 50 States, 
        the District of Columbia, the Commonwealth of Puerto Rico, the 
        United States Virgin Islands, American Samoa, Guam, and the 
        Northern Mariana Islands.
            (2) Unit of local government.--The term ``unit of local 
        government'' means a county, municipality, town, township, 
        village, parish, borough, or other unit of general government 
        below the State level.
            (3) Violent crime.--The term ``violent crime'' means 
        murder, non-negligent manslaughter, forcible rape, robbery, and 
        aggravated assault, as reported by the Federal Bureau of 
        Investigation for purposes of the Uniform Crime Report.
    (i) Authorization of Appropriations.--There are authorized to be 
appropriated to carry out this section $15,000,000 for the period of 
fiscal years 2018 through 2022.
  Buyback Our Safety Act This bill authorizes the Department of Justice's Office of Justice Programs (OJP) to establish a gun buyback grant program for state, local, and tribal law enforcement agencies. The OJP must enter into an arrangement with the National Academy of Sciences to develop standards to identify the guns likely to be used in violent crimes and to establish a pricing scale for guns purchased through a gun buyback program. 

SECTION 1. SHORT TITLE; TABLE OF CONTENTS.

    (a) Short Title.-- This Act may be cited as the ``Tribal Government 
Homeland Security Coordination and Integration Act''.
    (b) Table of Contents.--The table of contents for this Act is as 
follows:

Sec. 1. Short title; table of contents.
Sec. 2. Findings and purposes.
Sec. 3. Definitions.
Sec. 4. Office of tribal government homeland security.
Sec. 5. Report to congress.
Sec. 6. Authorization of appropriations.

SEC. 2. FINDINGS AND PURPOSES.

    (a) Findings.--Congress finds the following:
            (1) Since the terrorist attacks of September 11, 2001, and 
        the subsequent introduction of weapons grade anthrax into the 
        United States Postal System and Congressional office buildings 
        in Washington, D.C., the President and the Congress have worked 
        closely to respond to the need to rebuild and strengthen the 
        nation's public health, national security, and emergency 
        response systems.
            (2) Based on Article I, section 8 of the United States 
        Constitution, treaties, Federal statutes, and court decisions, 
        the United States has a unique historical and legal 
        relationship with American Indian and Alaska Native people, 
        which serves as the basis for the Federal Government's trust 
        responsibility and obligations. There are currently 558 
        federally-recognized Indian tribes in the United States, with 
        some 40 percent of Indian tribes located in the State of 
        Alaska. Indian tribes have principle responsibility for lands 
        and people within their jurisdiction.
            (3) Despite the government-to-government relationship 
        between Indian tribes and the United States, the United States 
        has failed to include and consult with Indian tribes with 
        regard to homeland security prevention, protection, and 
        response activities planning. Moreover, there are no specific 
        provisions for the Bureau of Indian Affairs or the Indian 
        Health Service to participate in homeland security programs and 
        funding.
            (4) Throughout many areas of the United States, facilities 
        operated, and services, activities and government functions 
        carried out, by Indian tribes, the Bureau of Indian Affairs and 
        the Indian Health Service are the only sources available to 
        provide emergency health services, disaster response, and law 
        enforcement to the tribal and non-tribal community, thus 
        serving the role as ``first responders'' in the event of a 
        terrorist attack.
            (5) To provide for the public health and safety on tribal 
        lands and in the surrounding communities, it is imperative to 
        establish tribal participation in homeland security 
        initiatives. Indian tribes must be included in the national 
        strategy for homeland security and receive an appropriate share 
        of related funding.
            (6) The treatment of Indian tribes as State governments, as 
        appropriate, for developing funding methodologies, planning, 
        consultation, coordination, and for eligibility for grant 
        monies will ensure Indian tribes are adequately prepared to 
        respond to Homeland Security threats.
            (7) Indian tribes shall be treated as State, as 
        appropriate, for purposes of planning, consultation, 
        coordination, eligibility for grant monies and other purposes 
        to improve the United States capacity to prepare, prevent and 
        respond to terrorist activities.
    (b) Purposes.--The purposes of this Act are as follows:
            (1) To establish within the Department of Homeland Security 
        an office known as the Office of Tribal Government Homeland 
        Security.
            (2) To authorize the Secretary of Homeland Security to 
        appoint, in consultation with Indian tribes, a Director of 
        Tribal Government Homeland Security.
            (3) To provide for more effective management of, and 
        accountability for the proper discharge of, the Secretary's 
        trust responsibility to Indian tribes and individual American 
        Indians and Alaska Natives by establishing in the Department of 
        Homeland Security an Office of Tribal Government Homeland 
        Security.
            (4) To integrate and coordinate the efforts of the 
        Department of Homeland Security and Indian tribes to prepare 
        for, prevent, protect against, respond to, and recover from 
        terrorist attacks.
            (5) To provide strategic integration of the Homeland 
        Security activities of Indian tribes that will complement the 
        operational consolidation of the various directorates within 
        the Department.
            (6) To supplement the capacity of the Indian Health Service 
        and the Bureau of Indian Affairs to respond to the homeland 
        security needs of American Indians and Alaska Natives, without 
        jeopardizing the nonsecurity missions of the Indian Health 
        Service and the Bureau of Indian Affairs.
            (7) To serve as an information clearinghouse and to enhance 
        the integration and coordination of Indian tribes and in the 
        activities of the Department of Homeland Security.
            (8) To establish an organizational framework within the 
        Department of Homeland Security through which the Federal 
        Government, Indian tribes, and State and local governments can 
        work effectively and collaboratively on public health and 
        safety, terrorism detection, prevention, response, and 
        protection of critical infrastructure.

SEC. 3. DEFINITIONS.

     In this Act:
            (1) Director.--The term ``Director'' means the Director of 
        the Office of Tribal Government Homeland Security.
            (2) Indian tribe.--The term ``Indian tribe'' has the 
        meaning given that term in section 4(e) of the Indian Self-
        Determination and Education Assistance Act (25 U.S.C. 450b(e)).
            (3) Office.--The term ``Office'' means the Office of Tribal 
        Government Homeland Security established in section 4.
            (4) Secretary.--The term ``Secretary'' means the Secretary 
        of Homeland Security.

SEC. 4. OFFICE OF TRIBAL GOVERNMENT HOMELAND SECURITY.

    (a) In General.--
            (1) Establishment.--There is hereby established within the 
        Department of Homeland Security an office to be known as the 
        ``Office of Tribal Government Homeland Security''.
            (2) Director.--The Office shall be headed by a Director, 
        appointed by the Secretary in consultation with Indian tribes, 
        whose title shall be the Director of Tribal Government Homeland 
        Security. The Director shall be equal in pay and authority of 
        an Assistant Secretary.
    (b) Duties of Secretary; Director.--
            (1) Duties of the secretary.--The Secretary shall--
                    (A) ensure the coordination of Federal programs 
                that provide assistance (including financial and 
                technical assistance) to eligible Indian tribes and 
                provide those governments with treatment as State 
                governments, as appropriate, for planning, 
                consultation, and coordination and for eligibility for 
                Federal grant monies and funds to improve capacity and 
                help prepare, prevent, and respond to terrorist 
                activities, and for other related purposes in and near 
                tribal communities;
                    (B) ensure Indian tribes are included in the 
                coordination activities of the Homeland Security 
                Department's Border and Transportation functions in the 
                same manner as State and local law enforcement 
                entities;
                    (C) ensure Indian tribes with jurisdiction over 
                lands adjacent to the Canadian and Mexican borders are 
                adequately prepared to help protect United States 
                borders, territorial waters, waterways, and other 
                transportation systems;
                    (D) ensure the broad spectrum of infrastructure 
                throughout Indian Country, including nuclear and 
                electrical power plants, water and sanitation 
                facilities, agricultural, food processing, oil, timber, 
                and other natural resources is adequately protected 
                against terrorist threats;
                    (E) ensure that Indian tribes are properly equipped 
                to prepare for, prevent, and respond to terrorist 
                activities in the same manner as State and local 
                governments;
                    (F) provide Indian tribes the necessary equipment 
                for detection, protection, and decontamination in 
                emergencies involving weapons of mass destruction;
                    (G) provide Indian tribes with emergency 
                preparedness training and exercise programs and further 
                assistance for any emergency, including natural 
                disasters or disease;
                    (H) include Indian tribes in all facets of 
                research, development, resource assessment, and risk 
                analysis in the same manner as State and local 
                governments; and
                    (I) include Indian tribes, as appropriate, in the 
                coordination of the Homeland Security Department's 
                Immigration and Nationality functions in the same 
                manner as State and local law enforcement entities.
            (2) Duties of the director.--The Director shall--
                    (A) coordinate homeland security activities among 
                Indian tribes and related Federal agencies, including 
                integration and coordination of the efforts of the 
                Department of Homeland Security and Indian tribes to 
                prepare for, prevent, protect against, respond to, and 
                recover from terrorist attacks;
                    (B) provide strategic integration to complement the 
                operational consolidation of the various directorates 
                within the Department of Homeland Security, with 
                respect to Indian tribes;
                    (C) ensure that Indian tribes are included in the 
                gathering and analysis of terrorist threats and other 
                information in the same manner as Federal, State, and 
                local law enforcement entities;
                    (D) serve as the Secretary's key point of contact 
                for Indian tribes in need of assistance and information 
                homeland security grants for purposes of planning, 
                consultation, coordination, eligibility for grant 
                monies and other purposes to improve the United States 
                capacity to prepare, prevent and respond to terrorist 
                activities and to work with Indian tribes and executive 
                agencies in promoting homeland security;
                    (E) serve as the coordinating center intended to 
                facilitate communication between and integration with 
                Indian tribes and other Federal departments that have 
                homeland security responsibilities, including but not 
                limited to health surveillance, emergency preparation 
                and response, border security, critical infrastructure 
                protection, technology, and communication;
                    (F) establish a network through which the Federal 
                Government, Indian tribes, and State and local 
                governments work collaboratively on public health and 
                safety, terrorism detection, prevention, response, and 
                protection of critical infrastructure targets; and
                    (G) establish a mechanism for the distribution of 
                warnings and information to tribal communities.
    (c) Treatment of Indian Tribes as States.--
            (1) In general.--The Secretary shall--
                    (A) treat Indian tribes as States, as appropriate, 
                for the purpose of homeland security consultation, 
                planning, coordination, bioterrorism preparedness, 
                prevention, and response, emergency preparedness and 
                response, border and transportation security, and for 
                other purposes related to protecting the homeland;
                    (B) include Indian tribes in funding methodologies 
                for purposes of allocating any financial resources; and
                    (C) support and facilitate the capacity necessary 
                for the Indian Health Service and Bureau of Indian 
                Affairs to respond to the homeland security needs of 
                American Indians and Alaska Natives, without 
                jeopardizing their non-security missions.
            (2) Discretionary authority.--The Secretary may delegate to 
        such Indian tribes primary responsibility for homeland security 
        activities within its respective jurisdiction.
    (d) Information Sharing.--The Secretary shall provide assistance to 
enhance information technology capabilities of Indian tribes and 
ensure--
            (1) the active participation of Indian tribes in the 
        coordination with Federal, State, and local governments and the 
        private sector as related to Homeland Security activities; and
            (2) provide Indian tribes access to the same type of 
        information being exchanged between Federal, State, and local 
        authorities for the purpose of providing government personnel, 
        agencies, and authorities, with appropriate intelligence 
        information, including warnings, regarding threats posed by 
        terrorism in a timely and secure manner.
    (e) Federal Grants.--
            (1) General eligibility.--Indian tribes shall be eligible 
        to apply for, receive, direct, and supervise any homeland 
        security-related Federal grant programs.
            (2) Authority to award grants.--The Secretary may award 
        grants to Indian tribes for the following purposes:
                    (A) Planning, consultation, and coordination to 
                improve infrastructure, to prevent terrorist 
                activities.
                    (B) Training and education of employees responsible 
                for public health, safety and emergency response 
                activities.
                    (C) Addressing communication gaps and 
                infrastructure needs related to homeland security.
                    (D) Increasing the capacity of Indian tribes to 
                help prepare, prevent, and respond to terrorist 
                activities and other public health and safety 
                emergencies.
                    (E) Development of a comprehensive plan to help 
                prepare, prevent, and respond to terrorist activities 
                and other public health and safety emergencies.
                    (F) Implementation of plans to help prepare, 
                prevent, and respond to terrorist activities and other 
                public health and safety emergencies.
                    (G) The preparation of reports assessing the 
                emergency preparedness of Indian tribes, including an 
                assessment of Indian tribes' coordination with the 
                Department.
                    (H) Such other purposes related to the purposes of 
                this Act the Secretary considers appropriate.
    (f) Technical Assistance.--The Secretary shall--
            (1) directly or by contract, provide Indian tribes with 
        technical assistance in developing, implementing and managing 
        emergency response plans.
            (2) Ensure that legal, financial, and other expertise of 
        the Department of Homeland Security is made fully available in 
        an advisory capacity to Indian tribes to assist in the 
        development, implementation, and management of emergency 
        response plans.
            (3) Provide Department of Homeland Security programs 
        designed to provide legal, accounting, financial, or technical 
        assistance to eligible Indian tribes.
            (4) Facilitate cooperation with the heads of appropriate 
        Federal agencies working on Homeland Security initiatives.
            (5) Any other activity that the Secretary, in consultation 
        with the Director, considers appropriate to carry out this 
        section.
    (g) Assessment.--Not later than 6 months after the date of the 
enactment of this Act, the Secretary shall submit an assessment report 
detailing the baseline readiness of Indian tribes to the Committee on 
Indian Affairs of the Senate and the Committee on Resources of the 
House of Representatives. In addition to an assessment of baseline 
readiness, the report shall contain any legislative recommendations 
necessary to improve coordination and integration of Indian tribes in 
the National Homeland Security Strategy.
    (h) Reporting.--The Secretary shall determine the effectiveness of 
the Office through the preparation of reports assessing the emergency 
preparedness of Indian tribes, including an assessment of Indian 
tribes' coordination with the Department of Homeland Security.
    (i) Prohibition.--The Secretary may not provide assistance under 
this section for any activity related to the operation of a gaming 
activity on Indian lands pursuant to the Indian Gaming Regulatory Act 
(25 U.S.C. 2701 et seq.).

SEC. 5. REPORT TO CONGRESS.

    (a) In General.--Not later than 1 year after the date of the 
enactment of this Act, and annually thereafter, the Secretary, in 
consultation with the Director, shall prepare and submit to the 
Committee on Indian Affairs of the Senate and the Committee on 
Resources of the House of Representatives a report on the operation of 
the Office.
    (b) Contents of Report.--Each report prepared under subsection (a) 
shall include--
            (1) for the period covered by the report, a summary of the 
        activities conducted by the Secretary, in carrying out 
        subsections (b) through (h) of section 4; and
            (2) any recommendations for legislation that the Secretary, 
        in consultation with the Director, determines to be necessary 
        to carry out such sections.

SEC. 6. AUTHORIZATION OF APPROPRIATIONS.

     There are authorized to be appropriated such sums are necessary to 
carry out this Act, to remain available until expended.
Tribal Government Homeland Security Coordination and Integration Act - Establishes the Office of Tribal Government Homeland Security (Office) within the Department of Homeland Security. Requires the Secretary of Homeland Security to appoint a Director to head the Office.

Prescribes the Secretary's and the Director's duties of coordination, infrastructure and equipment readiness, training, and inclusion of Indian tribes in homeland security preparedness. 
 
 Requires the Secretary to treat Indian tribes as states, as appropriate for the purpose of homeland security. Authorizes the Secretary to delegate to Indian tribes primary responsibility for homeland security activities within their respective jurisdictions. Requires the Secretary to integrate the roles of the Bureau of Indian Affairs and Indian Health Services with regard to homeland security. 
 
 Requires the Secretary to provide assistance to enhance information technology capabilities of tribes and ensure the participation of Indian tribes in the coordination with federal, state, and local governments and the private sector as related to Homeland Security activities. 
 
 Declares Indian tribes to be eligible to apply for, receive, direct, and supervise any homeland security-related federal grant program. 
 
 Authorizes the Secretary to award grants to Indian tribes for specified homeland security purposes. 
 
 Requires the Secretary to provide Indian tribes with: (1) technical assistance in developing, implementing, and managing emergency response plans; (2) Department of Homeland Security expertise and programs; (3) the cooperation of the heads of appropriate Federal agencies; and (4) any other activity the Secretary considers appropriate to provide homeland security technical assistance to Indian tribes.

SECTION 1. SHORT TITLE.

    This Act may be cited as the ``Main Street TARP Act of 2009''.

SEC. 2. HOUSING TRUST FUND.

    (a) Use of TARP Funds.--Using the authority available under 
sections 101(a) and 115(a) of division A of the Emergency Economic 
Stabilization Act of 2008 (12 U.S.C. 5211(a), 5225(a)), the Secretary 
of the Treasury shall transfer to the Secretary of Housing and Urban 
Development $1,000,000,000, and the Secretary of Housing and Urban 
Development shall credit such amount to the Housing Trust Fund 
established under section 1338 of the Federal Housing Enterprises 
Financial Safety and Soundness Act of 1992 (12 U.S.C. 4568) for use in 
accordance with such section.
    (b) Tenant Rent Contribution.--Subparagraph (A) of section 
1338(c)(7) of the Federal Housing Enterprises Financial Safety and 
Soundness Act of 1992 (12 U.S.C. 4568(c)(7)(A)) is amended by inserting 
before the semicolon the following: ``; and except that all rental 
housing dwelling units shall be subject to legally binding commitments 
that ensure that the contribution toward rent by a family residing in a 
dwelling unit shall not exceed 30 percent of the adjusted income of 
such family''.

SEC. 3. EMERGENCY MORTGAGE RELIEF.

    (a) Use of TARP Funds.--Using the authority available under 
sections 101(a) and 115(a) of division A of the Emergency Economic 
Stabilization Act of 2008 (12 U.S.C. 5211(a), 5225(a)), the Secretary 
of the Treasury shall transfer to the Secretary of Housing and Urban 
Development $2,000,000,000, and the Secretary of Housing and Urban 
Development shall credit such amount to the Emergency Homeowners' 
Relief Fund, which such Secretary shall establish pursuant to section 
107 of the Emergency Housing Act of 1975 (12 U.S.C. 2706), as such Act 
is amended by this section, for use for emergency mortgage assistance 
in accordance with title I of such Act.
    (b) Reauthorization of Emergency Mortgage Relief Program.--Title I 
of the Emergency Housing Act of 1975 is amended--
            (1) in section 103 (12 U.S.C. 2702)--
                    (A) in paragraph (2)--
                            (i) by striking ``have indicated'' and all 
                        that follows through ``regulation of the 
                        holder'' and insert ``have certified'';
                            (ii) by striking ``(such as the volume of 
                        delinquent loans in its portfolio)''; and
                            (iii) by striking ``, except that such 
                        statement'' and all that follows through 
                        ``purposes of this title''; and
                    (B) in paragraph (4), by inserting ``or medical 
                conditions'' after ``adverse economic conditions'';
            (2) in section 104 (12 U.S.C. 2703)--
                    (A) in subsection (b), by striking ``the lesser of 
                $250 per month or''; and
                    (B) in subsection (d), by inserting before the 
                period at the end the following: ``, except that such 
                interest rate may exceed such maximum rate but only as 
                necessary to comply with rules under a program operated 
                by a State that otherwise complies with program rules 
                under this title'';
            (3) in section 105 (12 U.S.C. 2704)--
                    (A) by striking subsection (b);
                    (B) in subsection (e)--
                            (i) by inserting ``and emergency mortgage 
                        relief payments made under section 106'' after 
                        ``insured under this section''; and
                            (ii) by striking ``$1,500,000,000 at any 
                        one time'' and inserting ``$2,000,000,000'';
                    (C) by redesignating subsections (c), (d), and (e) 
                as subsections (b), (c), and (d), respectively; and
                    (D) by adding at the end the following new 
                subsection:
    ``(e) The Secretary shall establish underwriting guidelines or 
procedures to allocate amounts made available for loans and advances 
insured under this section and for emergency relief payments made under 
section 106 based on the likelihood that a mortgagor will be able to 
resume mortgage payments, pursuant to the requirement under section 
103(5).'';
            (4) in section 107--
                    (A) by striking ``(a)''; and
                    (B) by striking subsection (b);
            (5) in section 108 (12 U.S.C. 2707), by adding at the end 
        the following new subsection:
    ``(d) The Secretary may allow funds to be administered by a State 
through an existing program that complies with program rules under this 
title.'';
            (6) in section 109 (12 U.S.C. 2708)--
                    (A) in the section heading, by striking 
                ``authorization and'';
                    (B) by striking subsection (a);
                    (C) by striking ``(b)''; and
                    (D) by striking ``1977'' and inserting ``2011'';
            (7) by striking sections 110, 111, and 113 (12 U.S.C. 2709, 
        2710, 2712); and
            (8) by redesignating section 112 (12 U.S.C. 2711) as 
        section 110.

SEC. 4. REDUCING TARP AUTHORIZATION LIMIT TO OFFSET COSTS.

    Paragraph (3) of section 115(a) of the Emergency Economic 
Stabilization Act of 2008 (12 U.S.C. 5225) is amended by striking 
``$1,259,000,000'' and inserting ``2,259,000,000''.

Main Street TARP Act of 2009 - Directs the Secretary of the Treasury, using authority to purchase troubled assets under the Troubled Asset Relief Program (TARP) of the Emergency Economic Stabilization Act of 2008 (EESA), to transfer $1 billion to the Secretary of Housing and Urban Development (HUD) for the Secretary to credit to the Housing Trust Fund.

Revises requirements for the use of allocations to states from the Housing Trust Fund for low-income rental housing. Requires that all rental housing dwelling units be subject to legally binding commitments that ensure that the contribution toward rent by a resident family shall not exceed 30% of the family's adjusted income.

Requires the HUD Secretary to credit certain amounts from the Housing Trust Fund to the Emergency Homeowners' Relief Fund (which the Secretary shall establish under the Emergency Housing Act of 1975) for emergency mortgage assistance.

Amends the Emergency Housing Act of 1975 to: (1) increase the maximum aggregate amount of insured emergency mortgage loans and advances; and (2) extend through FY2011 the program for insured loans and emergency mortgage relief payments made under the Act.

Amends EESA to reduce the TARP authorization limit in order to offset the costs of loans, advances, insurance, and appropriations authorized under this Act.