Courtney Walsh. Shane Warne was 2nd.
Dennis Lillee of Australia was the first bowler to take 350 wickets in Test Cricket. He achieved this mark in 1984 in the last match of his Test Cricket career at Sydney playing against Pakistan.
Courtney Walsh in Tests & Wasim Akram in ODIs.
New Zealand's Richard Hadlee became the first bowler to take 400 wickets. His 400th wicket came against India on February 4, 1990, at Christchurch.