(b) The requirements for indefinite leave to remain for the bereaved spouse or civil partner of a person who was present and settled in the United Kingdom are that:
(i)(a)the applicant was admitted to the United Kingdom for a period not exceeding 27 months or given an extension of stay for a period of 2 years as the spouse or civil partner of a person present and settled in the United Kingdom in accordance with paragraphs 281 to 286 of these Rules; or;
(b) the applicant was admitted to the United Kingdom for a period not exceeding 27 months or given an extension of stay for a period of 2 years as the unmarried or same-sex partner of a person present and settled in the United Kingdom in accordance with paragraphs 295AA to 295F of these Rules and during that period married or formed a civil partnership with the person whom he or she was admitted or granted an extension of stay to join; and
(ii) the person whom the applicant was admitted or granted an extension of stay to join died during that period; and
(iii) the applicant was still the spouse or civil partner of the person he or she was admitted or granted an extension of stay to join at the time of the death; and
(iv) each of the parties intended to live permanently with the other as his or her spouse or civil partner and the marriage or civil partnership was subsisting at the time of the death.