Answer
One term, that's the answer. Edgar Allan had only one term in the Virginia Senate. He served from 1827 to 1828, representing Charles County, Virginia. During this term, he was actively involved in the state's political scene and contributed to various debates and discussions. His term in the Senate marked a significant chapter in his life, where he demonstrated his interest in politics and public service.