 Along with 200 other benefactors, Matthews contributed money by purchasing substantial stock in the library.He served on several of the library's committees, which were responsible for drafting its rules and purchasing books.He was elected the library's second president on April 18, 1821, succeeding the pastor of the F Street Presbyterian Church, Dr. James Laurie.