Matthew McConaughey praised President Joe Biden's decision for signing a gun control bill, Bipartisan Safer Communities Act, over the weekend.

The 52-year-old actor took to Instagram to share his views, noting that "this bill isn’t perfect" but "it is a shining example of a great American potential and political virtue: the act of compromise and validating an opposing viewpoint," People reported.

McConaughey added eight slides to his post, where he also addressed the tragic mass shooting at a Texas elementary school on May 24. The incident where 21 people including 19 children were fatally shot by an 18-year-old boy occurred in Uvalde, the actor's hometown.

"This bill will save innocent lives by keeping guns out of the law breaking and irresponsible hands that are trying to hijack the Second Amendment," he continued. "Our government took a step in the right direction.

"Now it’s time for us to remind them AND ourselves what the best of our country is AND can be," he added.

This is not the first time the actor addressed this shooting incident. He visited the White House earlier this month and gave an emotional speech, where he had to fight back his tears.

"You could feel the shock in the town. You could feel the pain, the denial, the disillusion, anger, blame, sadness, loss of lives, dreams halted," McConaughey said.

"Due to the exceptionally large exit wounds of an AR-15 rifle, most of the bodies so mutilated that only a DNA test or green Converse could identify them," the actor added. "Many children were left not only dead but hollow. So, yes, counselors are going to be needed in Uvalde for a long time."

McConaughey also spoke with host Bret Baier on "Fox News' Special Report" earlier this month and said, "I am not running for political office. I'm here because on the 24th of May, I got the news that there was a mass shooting in the town that I was born in, Uvalde, Texas."

The actor revealed how he went to Uvalde with his family following the incident.

"The next morning we loaded up and went down to Uvalde," he added. "The main thing that we got out of it, was that every single family that lost a loved one or child said, 'You know what, I just want some way for the loss of my loved one's life to matter.'"

McConaughey is married to model Camila Alves since 2012 and the couple has three kids - Levi, 13, Vida, 12, and Livingston, 9.

Matthew McConaughey
AUSTIN, TEXAS - JANUARY 21: Matthew McConaughey participates in a Q&A after a special screening of his new film "The Gentlemen" at Hogg Memorial Auditorium at The University of Texas at Austin on January 21, 2020 in Austin, Texas. (Photo by Gary Miller/Getty Images) Photo by Gary Miller/Getty Images