Let ξ, ξ1, ξ2,… be a sequence of independent and identically distributed random variables, and let S n =ξ1+⋯+ξn and M n =maxk≤n S k . Let τ=min{n≥1: S n ≤0}. We assume that ξ has a heavy-tailed distribution and negative, finite mean E(ξ)<0. We find the asymptotics of P{Mτ ∈ (x, x+T]} as x→∞, for a fixed, positive constant T.