Former Texas Gov. Rick Perry made a statement on Thursday about Donald Trump's border security in criticisms, clarifying that his views has nothing to do with the Republican Party

"I have a message for my fellow Republicans and the independents who will be voting in the primary process: What Mr. Trump is offering is not conservatism, it is Trump-ism -- a toxic mix of demagoguery and nonsense," Perry wrote on his website.

Trump has been under fire in recent weeks after stating that Mexican immigrants who enter the U.S. are "rapists and killers" during his presidential election announcement on June 16.

Despite losing corporate partnerships and support over his remarks, Trump continues to surge in the polls. He also released a statement defending his "racist" comments.

"The United States has become a dumping ground for Mexico, and, in fact, for many other parts of the world," the statement read.

The businessman argued that his speech was praised until the media distorted his words weeks later. He argued, "If there was something stated incorrectly, it would have been brought up immediately and with great enthusiasm."

"Donald Trump continues to demonstrate his fundamental misunderstanding of border security," Perry said regarding Trump's remarks.

Perry said he talked to President Barack Obama about border security last year and urged that Texas would step in to fix the issue. He added,  "Mr. Trump has made clear that he believes the states should fend for themselves on border security. Not only is this wrong, it perpetuates the same failed policies that have left our southern border porous and vulnerable."

Meanwhile, the former Texas governor raised nearly $17 million for his presidential campaign, CNN reports.

He is ready to fight against Trump on the border patrol issue.

"America doesn't need another president who will pass the buck on border security," he said. "Mr. Trump has done nothing to prove that he is the president America needs."