Dear Mr. Matthews,
Thank you for posting your request on History Hub!
Please contact the Erie Supreme & County Court Chief Clerk's Office and the Buffalo City Court for information regarding whether these records were retained. If they are retained, they should be able to tell you which institution has them and what are the procedures for accessing any records from this time period.
We hope this information is helpful. Best of luck with your research!