Undoubtedly, Royal Decree 1004/2015 unified criteria for the granting of Spanish nationality by residence and indicates the steps to apply…