 He served as first lieutenant of Company F, Twelfth Regiment, Pennsylvania Volunteer Infantry, in the Spanish–American War.He was a delegate to the 1900 Democratic National Convention.Polk was elected as a Democrat to the Fifty-sixth and Fifty-seventh Congresses and served until his death in Philadelphia, Pennsylvania.