 He wrote numerous articles on economic, social, and legal problems.Ellenbogen was elected as a Democrat to the Seventy-third, Seventy-fourth, and Seventy-fifth Congresses and served until his resignation in 1938, having been elected judge of the common pleas court of Allegheny County, Pennsylvania.He was reelected as a judge in November 1947 and again in 1957 and served as presiding judge, 1963 to 1966.