CREDIT AGREEMENT dated as of May 24, 2018 among RLI CORP., The Lenders Party Hereto and JPMORGAN CHASE BANK, N.A., as Administrative Agent JPMORGAN CHASE BANK, N.A., as Sole Bookrunner and Sole Lead Arranger