A Baton Rouge tax accountant was convicted Tuesday of conspiracy to commit bank fraud after admitting in federal court to creating fake documents that allowed others to obtain lines of credit.

Shedrick Mayweather, 68, fabricated W-2 forms, balance sheets, profit and loss statements, and personal and business tax returns that were used to secure $3 million in fraudulent credit, U.S. Attorney for the Middle District of Louisiana Walt Green said Tuesday.

Mayweather’s activities from 2004 to 2011 caused several banks in the Baton Rouge area to lose money on loans that couldn’t be repaid, Green said.

Mayweather, who was paid by at least one person for creating the documents, pleaded guilty before U.S. District Judge John W. deGravelles.

The case is being investigated by the FBI and is prosecuted by Assistant U.S. Attorney John. B. Casey, Green said.

He faces up to 30 years in prison.