Green’s Dictionary of Slang

pain-in-the-ass adj.

also pain-in-the-arse, ...booty
[pain in the arse n.]

[1930s+] (US) infuriating.