Workers in late 19th century America faced difficult working conditions including monotonous and dangerous work. Between 1865-1897, deflation caused wages to fall, worsening relations between workers and employers. To improve conditions, workers tried to organize unions but faced many barriers from employers including blacklisting and lockouts. The largest early unions were the Knights of Labor and American Railway Union, but both declined after events like the Haymarket Riot and Pullman Strike turned public opinion against unions. The American Federation of Labor grew in the early 1900s under Samuel Gompers' leadership but most workers remained unorganized.