Original: John Quincy Adams was elected a member of the Massachusetts State Senate in April 1802.
Simplified: In 1802 he was elected to the United States Senate.