country_decisions = {
	israel_nation = {
		major = yes
		potential = {
			normal_or_historical_nations = yes
			was_never_end_game_tag_trigger = yes
			NOT = { has_country_flag = formed_israel_flag }
			OR = {
				ai = no
				is_playing_custom_nation = no
			}
			OR = {
				is_free_or_tributary_trigger = yes
				ai = no
			}
			NOT = { tag = ISR }
			OR = {
				ai = no
				AND = {
					NOT = { exists = ISR }
					num_of_cities = 3 #Carnage
				}
			}
			NOT = { tag = HLR }
			NOT = { tag = PAP }
			religion = jewish
			is_colonial_nation = no
			OR = {
				is_former_colonial_nation = no
				AND = {
					is_former_colonial_nation = yes
					ai = no
				}
			}
			#New added MMETR exception
			NOT = {
				was_tag = JUD		#will have new requirements
			}
			started_in = 136.1.1	#after end of Jewish-Roman Wars
		}
		provinces_to_highlight = {
			province_id = 379	# Jerusalem
		}
		allow = {
			NOT = { exists = ISR }
			is_at_war = no
			is_free_or_tributary_trigger = yes
			is_nomad = no
			owns_core_province = 379	# Jerusalem
			religion = jewish
		}
		effect = {
			change_tag = ISR
			remove_non_electors_emperors_from_empire_effect = yes
			if = {
				limit = { NOT = { government_rank = 2 } }
				set_government_rank = 2
			}
			set_capital = 379
			add_prestige = 25
			if = {
				limit = {
					has_custom_ideas = no
					NOT = { has_idea_group = ISR_ideas }
				}
				country_event = { id = ideagroups.1 } #Swap Ideas
			}
			set_country_flag = formed_israel_flag
		}
		ai_will_do = {
			factor = 1
		}
		ai_importance = 400 #
	}
	
	#New added MMETR for Judah to reunite Israel
	israel_united_kingdom_nation = {
		major = yes
		potential = {
			OR = {
				tag = JUD
				was_tag = JUD
				AND = {
					ai = no
					OR = {
						NOT = { started_in = 136.1.1 }
						normal_or_historical_nations = no
					}
					NOT = { tag = JUD }
				}
			}
			was_never_end_game_tag_trigger = yes
			NOT = { has_country_flag = formed_israel_united_kingdom_nation }
			OR = {
				is_free_or_tributary_trigger = yes
				ai = no
			}
			NOT = { tag = ISR }
			NOT = { tag = HLR }
			NOT = { tag = PAP }
			religion = jewish
			is_colonial_nation = no
			OR = {
				is_former_colonial_nation = no
				AND = {
					is_former_colonial_nation = yes
					ai = no
				}
			}
		}
		provinces_to_highlight = {
			OR = {
				province_id = 379	# Jerusalem
				province_id = 1854
				province_id = 3244
				province_id = 3263
				province_id = 381
			}
			has_discovered = ROOT
		}
		allow = {
			NOT = { exists = ISR }
			is_at_war = no
			is_free_or_tributary_trigger = yes
			is_nomad = no
			religion = jewish
			owns_core_province = 379	# Jerusalem
			owns_core_province = 1854
			owns_core_province = 3244
			owns_core_province = 3263
			owns_core_province = 381
		}
		effect = {
			override_country_name = ISR		#only a rename rather than tag change for Judah
			if = {
				limit = { 
					NOT = { 
						government_rank = 2
					}
				}
				set_government_rank = 2
			}
			set_capital = 379
			add_prestige = 25
			set_country_flag = formed_israel_united_kingdom_nation
		}
		ai_will_do = {
			factor = 0		#ai will not do
		}
		ai_importance = 0
	}
}
