political_decisions = {
    Become_Poland = {
        picture = poland
        potential = {
                tag = CPL
        }

        allow = {
		war = no
		owns = 706
		owns = 715
		NOT = { substate_of = RUS }
		NOT = { vassal_of = RUS }
        }

        effect = {
		change_tag = POL
		CPL = { all_core = { add_core = POL } }
		KRA = { all_core = { add_core = POL } }
		GLO = { all_core = { add_core = POL } }
		POL = { all_core = { remove_core = CPL } }
		    362 = { remove_core = POL }
		    719 = { add_core = POL }
        }
    }
	
    Seek_effective_autonomy = {
        picture = poland
        potential = {
                tag = POS
				NOT = { has_country_flag = posen_free }
        }

        allow = {
        OR = { PRU = { has_country_modifier = springtime_of_nations } 
		NGF = { has_country_modifier = springtime_of_nations }
        GER = { has_country_modifier = springtime_of_nations } 
		year = 1850 }
        }

        effect = {
		set_country_flag = posen_free	
		any_country = {
			limit = {
				has_country_flag = POS_Lord
			}
			country_event = { id = 11301100 days = 5 }
		}
        }
    }

    Polish_authority = {
        picture = poland
        potential = {
                tag = POS
				year = 1845
        }

        allow = {
        exists = POL
        }

        effect = {
		POL = { inherit = THIS }
		POS = { all_core = { add_core = POL } }
    }
	}
    become_Congress_of_Poland = {
        picture = poland
        potential = {
		OR = {
                tag = POS
                tag = GLO
                tag = KRA }
		nationalism_n_imperialism = 1
        }

        allow = {
		war = no
		owns = 706
		owns = 715
        }

        effect = {
		change_tag = CPL
        }
    }

    become_Galicia-Lodomeria = {
        alert = yes
        picture = poland
        potential = {
            GLO = { exists = no }
		tag = KRA
        }

        allow = {
		owns = 703
		owns = 714
		owns = 702
		war = no
        }

        effect = {
		change_tag = GLO
            set_country_flag = glo_comes_back
        }
        ai_will_do = { factor = 1 }
    }
    Lithuanian_independence = {
        picture = balticstates
        potential = {
                tag = LIT
				NOT = { has_country_flag = posen_free2 }
        }

        allow = {
		war = no
        owns = 948
		year = 1855
		NOT = { year = 1870 }	
        }

        effect = {
		set_country_flag = posen_free2
		LIT = { all_core = { remove_core = RUS } }
        }
    }
	
    Become_Poland_Lithuania = {
        picture = balticstates
        potential = {
                OR = { tag = LIT
				tag = POL
				tag = CPL }
				NOT = { has_country_flag = posen_free3 }
				LIT = { owns = 361 
				has_country_flag = posen_free2 }
				ai = no
        }

        allow = {
        CPL = { war = no }
		LIT = { war = no }
        }

        effect = {
		set_country_flag = posen_free3
			any_country = {
				limit = {
					OR = {
						tag = POL
						tag = LIT
						tag = CPL 
					}
					NOT = {
						tag = THIS
					}
				}
				annex_to = THIS
			}
			change_tag = PLC
			add_accepted_culture = polish
			add_accepted_culture = lithuanian
        }
    }
	
    Request_to_be_PLC = {
        picture = balticstates
        potential = {
                OR = { tag = UKR
				tag = BYE
				tag = GLO }
				NOT = { has_country_flag = posen_free4 }
				PLC = {
				has_country_flag = posen_free3 }
        }

        allow = {
        }

        effect = {
		set_country_flag = posen_free4
		
			PLC = { country_event = 76400 }
        }
    }
    Become_Poland_Lithuania2 = {
        picture = balticstates
        potential = {
                OR = { tag = LIT
				tag = POL
				tag = CPL }
				NOT = { has_country_flag = posen_free3 }
				LIT = { owns = 361 
				has_country_flag = posen_free2 }
				ai = yes
        }

        allow = {
        CPL = { war = no ai = yes}
        POL = { war = no ai = yes}
		LIT = { war = no ai = yes}
        }

        effect = {
		set_country_flag = posen_free3
		
			any_country = {
				limit = {
					OR = {
						tag = POL
						tag = LIT
						tag = CPL 
					}
					NOT = {
						tag = THIS
					}
				}
				annex_to = THIS
			}
			change_tag = PLC
			add_accepted_culture = polish
			add_accepted_culture = lithuanian
        }
    }
	accept_Ukrainians = {
		potential = {
			OR = {
				tag = PLC
				tag = ITM
			}
			owns = 958
			NOT = { has_country_flag = accepted_ukie }
			nationalism_n_imperialism = 1
		}	
		allow = {
			war = no
			NOT = { OR = { government = presidential_dictatorship 
			government = bourgeois_dictatorship
			government = fascist_dictatorship } }
			NOT = { has_country_flag = accepted_ukie }
		}
		
		effect = {
			prestige = 5
			add_accepted_culture = ukrainian
			set_country_flag = accepted_ukie
		}
		ai_will_do = {
			factor = 1
		}
	}
	accept_whiterussians = {
		potential = {
			OR = {
				tag = PLC
				tag = ITM
			}
			owns = 718
			NOT = { has_country_flag = accepted_ukie2 }
		}	
		allow = {
			nationalism_n_imperialism = 1
			war = no
			NOT = { OR = { government = presidential_dictatorship 
			government = bourgeois_dictatorship
			government = fascist_dictatorship } }
			NOT = { has_country_flag = accepted_ukie2 }
		}
		
		effect = {
			prestige = 5
			add_accepted_culture = byelorussian
			set_country_flag = accepted_ukie2
		}
		ai_will_do = {
			factor = 1
		}
	}
}