Former PA official sentenced to seven years for embezzlement