The general procedure for the synthesis of 4-(6-(4-(piperazin-1-yl)phenyl)pyrazolo[1,5-a]pyrimidin-3-yl)quinolines, using the compound (CAS: 1062368-23-3) as starting material, was as follows: 5% Pd/C catalyst and intermediate 12 (20 mg, 0.37 mmol) were dissolved in a mixture of methanol (3 mL) and dichloromethane (2 mL) solvent for degassing. Subsequently, the reaction was carried out under hydrogen atmosphere for 4 hours at room temperature. Upon completion of the reaction, the reaction mixture was filtered to remove the catalyst and the filtrate was concentrated to afford the target product 13 (13 mg, 86% yield). The product was characterized by 1H NMR (DMSO-d6) with the following chemical shifts: δ 9.75 (d, J = 2.2 Hz, 1H), 9.40 (br.s, 1H), 9.29 (d, J = 5.9 Hz, 1H), 9.28 (d, J = 2.2 Hz, 1H), 9.07 (s, 1H), 8.70 (d, J = 8.4 Hz, 1H), 8.70 (d, J = 8.4 Hz, 1H), and 8.51 (d, J = 5.9 Hz, 1H), 8.47 (d, J = 8.4 Hz, 1H), 8.21 (t, J = 7.6 Hz, 1H), 7.99 (t, J = 7.6 Hz, 1H), 7.88 (d, J = 8.8 Hz, 2H), 7.19 (d, J = 8.8 Hz, 2H), 3.51-3.58 (m, 4H). 3.20-3.30 (m, 4H).