Before entering politics, Hernández Ortiz specialized in corporate law, administrative law, labor law, healthcare and hospital advisory, legislative affairs, municipal law, and general civil law. He also served as a legal advisor to former Villalba mayor Waldemar Rivera Torres and the Popular Democratic Party of Puerto Rico.
Mayor of Villalba Luis Javier Hernández became the mayor of Villalba on January 14, 2013, after the resignation of the elected mayor Waldemar Rivera Torres. He was re-elected in the 2016 and 2020 municipal elections. As mayor, Hernández focused on job creation, education, and social justice. He was instrumental in energizing the Toro Negro I Hydroelectric Plant after Hurricane María, bringing electricity to his town in a record time of two months. During the COVID-19 pandemic, Hernández implemented a tracking program that was later adopted by the Puerto Rico Department of Health statewide. He also introduced "Programa Futuro," an educational initiative to enhance students' academic performance and provide skills for the 21st century. Under his leadership, Villalba became a hub for higher education, with the establishment of institutions like E.D.P. University and Education for Inclusion Academy, a specialized school for students with special needs.
Senator In December 2023, Hernández announced he would not seek re-election as mayor and would instead run for a seat in the Senate of Puerto Rico as a senator for accumulation. He won his party's primary elections on June 2, 2024, securing the most votes for the position. He was elected to the Senate on January 2, 2025.
Leadership Roles Hernández has been an active member of the Partido Popular Democrático (PPD) and has served in various leadership positions within the party. In 2023, he ran for the presidency of the PPD but lost to Jesús Manuel Ortiz. He also contested the presidency of the Democratic Party of Puerto Rico in 2024, but lost to Luis Dávila Pernás, a candidate from the
New Progressive Party (Puerto Rico). In 2020, Hernández was elected President of the Association of Mayors of Puerto Rico, a position he held until his transition to the Senate. == Personal life ==