A US federal judge has blocked former president Donald Trump's effort to restrict media access during his presidency. The ruling came as part of a broader legal challenge to executive orders aimed at limiting the ability of news organizations to report on government activities. The court's decision was based on the argument that such restrictions violate the First Amendment rights of the press.

The case, which was filed by multiple news outlets, argued that Trump's executive order sought to limit the flow of information to the public by restricting the ability of journalists to obtain government records. The judge ruled that the order was an overreach of presidential power and that it could not be implemented.

Legal experts have noted that the ruling could have significant implications for the balance of power between the executive branch and the media. The decision reinforces the role of the press as a check on government authority.

The ruling comes amid ongoing legal battles over the scope of presidential power and the limits of executive action. The case is expected to be appealed, but for now, the media's access remains unaffected.