Jansenism was a 17th- and 18th-century theological movement within Roman Catholicism, primarily active in France, which arose as an attempt to reconcile the theological concepts of free will and divine grace in response to certain developments in the Catholic Church, but later developing political and philosophical aspects in opposition to royal absolutism.