 While in Congress, O’Hara served on the Mines and Mining Committee, the Expenditures on Public Buildings Committee, and the Invalid Pensions Committee.He was known for making short speeches and fighting for the rights of African Americans.He proposed a constitutional amendment to require equal accommodations for African Americans on public transportation and proposed legislation to reinstate the 1875 Civil Rights Bill.