Maciejewski was elected as a Democrat to the Seventy-sixth and Seventy-seventh Congresses and served from January 3, 1939, until his resignation on December 8, 1942.