hard yards

Etymology
A sporting analogy referring to the game of rugby football, where making progress on the field, in measurements of yards, may lead to accomplishment and victory.

Alternatively derived from sailing, when furling or unfurling the canvas from certain (perhaps higher) spars was both dangerous and difficult.

Noun

 * 1)  The key effort in completing a difficult task.