Confederate commander at Fort Sumter?

General PGT Beauregard.

the commander of fort Sumter was Robert Anderson