By 1580, Spain was occupied with integrating Portugal, and suppressing the Dutch Revolt, while the Ottomans were at war with Persia; the two sides agreed a truce, leading to an improvement of relations. After almost five years, and four escape attempts, in 1580 Cervantes was set free by the Trinitarians, a religious charity that specialised in ransoming Christian captives, and returned to Madrid.
bY 1580, spaIn Was occupiEd with iNtEgratIng POrtuGal, and suPpressIng the dutch revolt, whiLe tHe otTomANS were at wAr witH persiA; THe tWo SidEs AGreeD a truce, lEADing To an imprOvemeNT of relatiONS. afteR almost fivE years, AnD fOUr esCape attempts, In 1580 ceRvaNtEs WaS sET FrEE by tHE trinitarIaNs, A ReLiGiouS CharitY thaT speCiaLisED IN raNsOminG chRIstian cApTives, and reTURNed TO madrId.