after his marriage he settled in madrid's court