Get your taxes done using TurboTax

I cannot find an answer whether it is a wash sale or not. 

Let say, I bought 100 shares of ABC at $5,000 on 1/2/2020 and another 100 shares for $3,000 in 1/29/2020 (within 30 days).  On 3/4/2020, more than 30 days from 2nd purchase, I sold the first 100 shares for $4,000.  That $1,000 loss shouldn't be considered a Wash sale, correct? If I sold it for $4,000 on 3/1/2020 which is less than 30 days from second purchase, that is Wash Sale?