Exhibit 5.1
[LETTERHEAD OF VENABLE LLP]
September 21, 2023
PennyMac Mortgage Investment Trust
3043 Townsgate Road
Westlake Village, California 91361
Re: Registration Statement on Form S-3 (Registration No. 333-257114)
Ladies and Gentlemen:
We have served as Maryland counsel to PennyMac Mortgage Investment Trust, a Maryland real estate investment trust (the “Company”), in connection with certain matters of Maryland law arising out of the registration of up to $57,500,000 aggregate principal amount of 8.50% Senior Notes due 2028 (the “Notes”) of the Company, guaranteed by PennyMac Corp., a Delaware corporation (“PMC”), in an underwritten public offering covered by the above-referenced Registration Statement on Form S-3, and all amendments thereto (the “Registration Statement”), filed by the Company with the United States Securities and Exchange Commission (the “Commission”) under the Securities Act of 1933, as amended (the “Securities Act”).
In connection with our representation of the Company, and as a basis for the opinion hereinafter set forth, we have examined originals, or copies certified or otherwise identified to our satisfaction, of the following documents (hereinafter collectively referred to as the “Documents”):
1. The Registration Statement, in the form filed with the Commission under the Securities Act;
2. The Company’s Prospectus, dated September 18, 2023, as supplemented by the Preliminary Prospectus Supplement, dated September 18, 2023, and the Prospectus Supplement, dated September 18, 2023, relating to the offering and sale of the Notes, each in the form filed with the Commission pursuant to Rule 424(b) of the General Rules and Regulations promulgated under the Securities Act;
3. The declaration of trust of the Company (the “Declaration”), certified by the State Department of Assessments and Taxation of Maryland (the “SDAT”);
4. The Second Amended and Restated Bylaws of the Company, certified as of the date hereof by an officer of the Company;
5. A certificate of the SDAT as to the good standing of the Company, dated as of a recent date;
6. Resolutions adopted by the Board of Trustees of the Company, and a duly authorized committee thereof, relating to, among other matters, (a) the registration and issuance of the Notes and (b) the Indenture and the Global Note (each as defined herein) (the “Resolutions”), certified as of the date hereof by an officer of the Company;