Oggersheim in particular gained some importance, after the construction of both a small palace serving as secondary residence for the Elector, and the famous pilgrimage church, Wallfahrtskirche.For some weeks in 1782, the great German writer and playwright Friedrich Schiller lived in Oggersheim, on flight from his native Württemberg).
On December 27, 1852, King Maximilian II granted Ludwigshafen am Rhein political freedom and as on November 8, 1859, the settlement gained city status.
At its founding Ludwigshafen was still a very modest settlement with just 1,500 inhabitants.
The Bavarian king, Ludwig I, set forth plans to rename the settlement after himself and to start construction of an urban area as a Bavarian rival to Mannheim on the opposite bank.
During the failed German revolution of 1848 rebels captured Ludwigshafen, but they were bombarded from Mannheim (rumours said the Mannheimers didn't aim at the revolutionaries, but on the rival harbour's infrastructure), and Prussian troops quickly expelled the revolutionaries.
Ludwigshafen ist eine kreisfreie Stadt und gleichzeitig Verwaltungssitz des die Stadt umgebenden Rhein-Pfalz-Kreises (bis 2003 Landkreis Ludwigshafen).