who was the commander of the forces that fired the first shot of the civil war

General P.G.T. Beauregard attacked Fort Sumter. I suspect he gets the credit.